Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14326
Modified Files:
Tag: May2009
All
Added Files:
Tag: May2009
hang_non_existing_doc.SF-1911209.XQUERY.py
hang_non_existing_doc.SF-1911209.stable.err
hang_non_existing_doc.SF-1911209.stable.out
hang_non_existing_doc.SF-1911209.timeout
Log Message:
Added test for long fixed bug.
--- NEW FILE: hang_non_existing_doc.SF-1911209.XQUERY.py ---
import os, sys
try:
import subprocess
except ImportError:
# user private copy for old Python versions
import MonetDBtesting.subprocess26 as subprocess
def client(cmd, input = None):
clt = subprocess.Popen(cmd,
stdin = subprocess.PIPE,
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
universal_newlines = True)
out, err = clt.communicate(input)
sys.stdout.write(out)
sys.stderr.write(err)
def main():
xq_client = os.getenv('XQUERY_CLIENT').split()
# HACK ALERT: create updatable document by appending ,10 to collection name
client(xq_client + ['--input=doc1911209.xml',
'--collection=doc1911209.xml,10'],
'<aap/>')
client(xq_client + ['-s', 'do insert <beer/> into
doc("doc1911209.xml")/aap'])
for i in range(1000):
client(xq_client + ['-s', 'pf:documents()'])
client(xq_client + ['-s', 'doc("does_not_exist.xml")'])
client(xq_client + ['-s', 'pf:del-doc("doc1911209.xml")'])
main()
--- NEW FILE: hang_non_existing_doc.SF-1911209.stable.out ---
stdout of test 'hang_non_existing_doc.SF-1911209` in directory
'tests/BugTracker` itself:
# 09:56:37 >
# 09:56:37 > Mserver
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set
gdk_nr_threads=1 --set
"monet_mod_path=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/bin"
--set
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
--set
"xrpc_docroot=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime/xrpc"
--set mapi_open=true --set xrpc_open=true --set mapi_port=39188 --set
xrpc_port=46247 --set monet_prompt= --trace "--dbname=mTests_tests_BugTracker"
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 09:56:37 >
# MonetDB Server v4.30.5
# based on GDK v1.30.5
# Copyright (c) 1993-July 2008, CWI. All rights reserved.
# Copyright (c) August 2008-2009, MonetDB B.V.. All rights reserved.
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs; dynamically
linked.
# Visit http://monetdb.cwi.nl/ for further information.
# PF/Tijah module v0.13.0 loaded. http://dbappl.cs.utwente.nl/pftijah
# MonetDB/XQuery module v0.28.3 loaded (default back-end is 'algebra')
# XRPC administrative console at http://127.0.0.1:46247/admin
printf("\nReady.\n");
[...1994 lines suppressed...]
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
<?xml version="1.0" encoding="utf-8"?>
<XQueryResult><document updatable="true" url="doc1911209.xml"
collection="doc1911209.xml,10">doc1911209.xml</document></XQueryResult>
# 09:57:42 >
# 09:57:42 > Done.
# 09:57:42 >
--- NEW FILE: hang_non_existing_doc.SF-1911209.stable.err ---
stderr of test 'hang_non_existing_doc.SF-1911209` in directory
'tests/BugTracker` itself:
# 09:56:37 >
# 09:56:37 > Mserver
"--config=/ufs/sjoerd/Monet-virgin-stable/etc/MonetDB.conf" --debug=10 --set
gdk_nr_threads=1 --set
"monet_mod_path=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/runtime:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah/.libs:/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/modules/pftijah:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/lib:/ufs/sjoerd/Monet-virgin-stable/lib64/MonetDB4/bin"
--set
"gdk_dbfarm=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/x86_64-unknown-linux-gnu/dbfarm"
--set
"xrpc_docroot=/ufs/sjoerd/src/MonetDB/virgin-stable/pathfinder/runtime/xrpc"
--set mapi_open=true --set xrpc_open=true --set mapi_port=39188 --set
xrpc_port=46247 --set monet_prompt= --trace "--dbname=mTests_tests_BugTracker"
"--dbinit= module(pathfinder);" ; echo ; echo Over..
# 09:56:37 >
# 09:56:38 >
# 09:56:38 > /usr/bin/python hang_non_existing_doc.SF-1911209.XQUERY.py
hang_non_existing_doc.SF-1911209
# 09:56:38 >
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
[...2978 lines suppressed...]
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
MAPI = mone...@ottar:39188
QUERY = doc("does_not_exist.xml")
ERROR = !ERROR: err:FODC0002, Error retrieving resource (no such document
"does_not_exist.xml").
# 09:57:42 >
# 09:57:42 > Done.
# 09:57:42 >
U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/All,v
retrieving revision 1.136.4.11
retrieving revision 1.136.4.12
diff -u -d -r1.136.4.11 -r1.136.4.12
--- All 29 Jul 2009 08:49:30 -0000 1.136.4.11
+++ All 31 Jul 2009 08:01:53 -0000 1.136.4.12
@@ -164,6 +164,7 @@
multi-join_query_compile_error.SF-1908822
immune_for_updates.SF-1981852
join-query_compilation_error.SF-1889694
+hang_non_existing_doc.SF-1911209
iter_in_join.SF-1991938
compilation_or_runtime_choice.SF-1991738_0_MPS
compilation_or_runtime_choice.SF-1991738_0_ALG
--- NEW FILE: hang_non_existing_doc.SF-1911209.timeout ---
2
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins