[Bug 4084] New: test-hgweb-commands, test-push-cgi and test-clone-cgi fail with enabled warnings
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Tue Nov 5 08:17:39 UTC 2013
http://bz.selenic.com/show_bug.cgi?id=4084
Priority: normal
Bug ID: 4084
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: test-hgweb-commands, test-push-cgi and test-clone-cgi
fail with enabled warnings
Severity: bug
Classification: Unclassified
OS: All
Reporter: Arfrever.FTA at GMail.Com
Hardware: All
Status: UNCONFIRMED
Version: 2.8
Component: Mercurial
Product: Mercurial
test-hgweb-commands, test-push-cgi and test-clone-cgi fail with enabled
warnings (PYTHONWARNINGS="d" environmental variable).
I use Mercurial 2.8.
# Test test-hgweb-commands.t
# Running sh
"/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/tests/child9/test-hgweb-commands.t.sh"
# Ret was: 0
# Killing daemon process 6676
---
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-hgweb-commands.t
+++
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-hgweb-commands.t.err
@@ -1535,6 +1535,8 @@
$ PATH_INFO=/; export PATH_INFO
$ QUERY_STRING='cmd=listkeys&namespace=bookmarks'
$ python hgweb.cgi
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 0\r (esc)
ERROR:
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-hgweb-commands.t
output changed
...
# Test test-push-cgi.t
# Running sh
"/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/tests/child249/test-push-cgi.t.sh"
# Ret was: 0
---
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-push-cgi.t
+++
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-push-cgi.t.err
@@ -40,6 +40,8 @@
$
QUERY_STRING="cmd=unbundle&heads=0000000000000000000000000000000000000000";
export QUERY_STRING
$ python hgweb.cgi <bundle.hg >page1 2>&1
$ cat page1
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 64\r (esc)
@@ -52,6 +54,8 @@
$ QUERY_STRING="cmd=unbundle&heads=666f726365"; export QUERY_STRING
$ python hgweb.cgi <bundle.hg >page2 2>&1
$ cat page2
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 102\r (esc)
@@ -67,6 +71,8 @@
$
QUERY_STRING="cmd=unbundle&heads=f7b1eb17ad24730a1651fccd46c43826d1bbc2ac";
export QUERY_STRING
$ python hgweb.cgi <bundle.hg >page3 2>&1
$ cat page3
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 102\r (esc)
@@ -82,6 +88,8 @@
$ QUERY_STRING="cmd=unbundle&heads=686173686564
5a785a5f9e0d433b88ed862b206b011b0c3a9d13"; export QUERY_STRING
$ python hgweb.cgi <bundle.hg >page4 2>&1
$ cat page4
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 102\r (esc)
ERROR:
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-push-cgi.t
output changed
...
# Test test-clone-cgi.t
# Running sh
"/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/tests/child364/test-clone-cgi.t.sh"
# Ret was: 0
---
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-clone-cgi.t
+++
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-clone-cgi.t.err
@@ -28,11 +28,13 @@
$
QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000";
export QUERY_STRING
$ python hgweb.cgi >page1 2>&1
$ python "$TESTDIR/md5sum.py" page1
- 1f424bb22ec05c3c6bc866b6e67efe43 page1
+ 3ee1c0b955d35b2805613010690b5166 page1
make sure headers are sent even when there is no body
$ QUERY_STRING="cmd=listkeys&namespace=nosuchnamespace" python hgweb.cgi
+
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/mercurial/hgweb/protocol.py:44:
PendingDeprecationWarning: cgi.parse_qs is deprecated, use urlparse.parse_qs
instead
+ args.update(cgi.parse_qs(''.join(chunks), keep_blank_values=True))
Status: 200 Script output follows\r (esc)
Content-Type: application/mercurial-0.1\r (esc)
Content-Length: 0\r (esc)
ERROR:
/var/tmp/portage/dev-vcs/mercurial-2.8-r1000/work/mercurial-2.8/tests/test-clone-cgi.t
output changed
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list