tags 663010 + patch thanks Hi,
If a quick fix would be useful to get virtuoso-opensource built again on kfreebsd-* (to avoid holding up a transition), then please see my attached patch. Its effect is, if 'netstat -an' doesn't seem to show that the service is running yet after 60 seconds have passed, rather than abort, just print a warning and try to run the test anyway. The real issue on kfreebsd-* is that 'netstat -an' is not working on the buildds, and I think that will take much longer to fix. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org
Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/rdf_mappers/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/rdf_mappers/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/rdf_mappers/make_vad.sh 2012-05-17 03:00:23.513728361 +0100 @@ -267,8 +267,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/bpel/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/bpel/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/bpel/make_vad.sh 2012-05-17 03:00:23.520731522 +0100 @@ -281,8 +281,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/b3s/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/b3s/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/b3s/make_vad.sh 2012-05-17 03:00:23.525738330 +0100 @@ -230,8 +230,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/tutorial/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/tutorial/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/tutorial/make_vad.sh 2012-05-17 03:00:23.531726552 +0100 @@ -131,8 +131,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/yacutia/mkvad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/yacutia/mkvad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/yacutia/mkvad.sh 2012-05-17 03:00:23.537725670 +0100 @@ -178,8 +178,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - ECHO "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + ECHO "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/mkdoc.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/demo/mkdoc.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/mkdoc.sh 2012-05-17 03:00:23.543723111 +0100 @@ -191,8 +191,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - ECHO "***FAILED: Could not start Virtuoso DOC Server within $timeout seconds" - exit 1 + ECHO "***WARNING: Could not start Virtuoso DOC Server within $timeout seconds" + return 1 fi done fi Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/sparql_demo/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/sparql_demo/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/sparql_demo/make_vad.sh 2012-05-17 03:00:23.549725581 +0100 @@ -141,8 +141,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/sync/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/sync/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/sync/make_vad.sh 2012-05-17 03:00:23.555730566 +0100 @@ -131,8 +131,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/isparql/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/isparql/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/isparql/make_vad.sh 2012-05-17 03:00:23.561725493 +0100 @@ -144,8 +144,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Addressbook/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Addressbook/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Addressbook/make_vad.sh 2012-05-17 03:00:23.567725449 +0100 @@ -120,8 +120,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Bookmark/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Bookmark/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Bookmark/make_vad.sh 2012-05-17 03:00:23.573725405 +0100 @@ -124,8 +124,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Briefcase/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Briefcase/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Briefcase/make_vad.sh 2012-05-17 03:00:23.579732065 +0100 @@ -140,8 +140,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Calendar/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Calendar/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Calendar/make_vad.sh 2012-05-17 03:00:23.585726154 +0100 @@ -123,8 +123,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Community/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Community/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Community/make_vad.sh 2012-05-17 03:00:23.591726110 +0100 @@ -127,8 +127,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Discussion/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Discussion/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Discussion/make_vad.sh 2012-05-17 03:00:23.597726904 +0100 @@ -137,8 +137,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-FeedManager/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-FeedManager/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-FeedManager/make_vad.sh 2012-05-17 03:00:23.603741946 +0100 @@ -123,8 +123,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Framework/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Framework/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Framework/make_vad.sh 2012-05-17 03:00:23.609726816 +0100 @@ -165,8 +165,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Framework/oauth/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Framework/oauth/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Framework/oauth/make_vad.sh 2012-05-17 03:00:23.615727610 +0100 @@ -215,8 +215,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Gallery/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Gallery/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Gallery/make_vad.sh 2012-05-17 03:00:23.620726036 +0100 @@ -128,8 +128,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Polls/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Polls/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Polls/make_vad.sh 2012-05-17 03:00:23.626726830 +0100 @@ -122,8 +122,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-WebMail/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-WebMail/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-WebMail/make_vad.sh 2012-05-17 03:00:23.632736005 +0100 @@ -123,8 +123,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Wiki/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Wiki/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Wiki/make_vad.sh 2012-05-17 03:00:23.639726595 +0100 @@ -158,8 +158,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/hosting/mono/tests/tclrsrv.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/hosting/mono/tests/tclrsrv.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/hosting/mono/tests/tclrsrv.sh 2012-05-17 03:00:23.644726698 +0100 @@ -241,8 +241,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/mkdemo.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/demo/mkdemo.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/mkdemo.sh 2012-05-17 03:00:23.650738387 +0100 @@ -170,8 +170,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - ECHO "***FAILED: Could not start Virtuoso DEMO Server within $timeout seconds" - exit 1 + ECHO "***WARNING: Could not start Virtuoso DEMO Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/xpath/files2dav.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/xpath/files2dav.sh 2009-02-12 15:15:13.000000000 +0000 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/xpath/files2dav.sh 2012-05-17 03:00:23.656726609 +0100 @@ -121,8 +121,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - ECHO "***FAILED: Could not start Virtuoso DEMO Server within $timeout seconds" - exit 1 + ECHO "***WARNING: Could not start Virtuoso DEMO Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/xquery/files2dav.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/xquery/files2dav.sh 2009-04-14 13:16:49.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/xquery/files2dav.sh 2012-05-17 03:00:23.662739975 +0100 @@ -121,8 +121,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - ECHO "***FAILED: Could not start Virtuoso DEMO Server within $timeout seconds" - exit 1 + ECHO "***WARNING: Could not start Virtuoso DEMO Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/tests/biftest/thook.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/tests/biftest/thook.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/tests/biftest/thook.sh 2012-05-17 03:00:23.668741607 +0100 @@ -154,8 +154,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/tests/suite/test_fn.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/tests/suite/test_fn.sh 2010-01-28 14:33:20.000000000 +0000 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/tests/suite/test_fn.sh 2012-05-17 03:00:23.674724801 +0100 @@ -333,8 +333,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/vsp/admin/debug/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/vsp/admin/debug/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/vsp/admin/debug/make_vad.sh 2012-05-17 03:00:23.680728109 +0100 @@ -97,8 +97,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/vspx/suite/vspx_suite.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/vspx/suite/vspx_suite.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/vspx/suite/vspx_suite.sh 2012-05-17 03:00:23.686729741 +0100 @@ -66,8 +66,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start Virtuoso Server within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start Virtuoso Server within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Blog/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/appsrc/ODS-Blog/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/appsrc/ODS-Blog/make_vad.sh 2012-05-17 03:00:23.692724668 +0100 @@ -139,8 +139,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done } Index: virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/make_vad.sh =================================================================== --- virtuoso-opensource-6.1.3+dfsg1.orig/binsrc/samples/demo/make_vad.sh 2012-05-17 02:58:30.000000000 +0100 +++ virtuoso-opensource-6.1.3+dfsg1/binsrc/samples/demo/make_vad.sh 2012-05-17 03:16:14.544707680 +0100 @@ -142,8 +142,8 @@ nows=`expr $nows + $nowh \* 60` if test $nows -ge $timeout then - LOG "***FAILED: Could not start $SERVER within $timeout seconds" - exit 1 + LOG "***WARNING: Could not start $SERVER within $timeout seconds" + return 1 fi done }