[Rt-devel] [Rt-announce] RT 3.4.0rc1
Todd Chapman
rt at chaka.net
Mon Dec 20 17:06:30 EST 2004
On Mon, Dec 20, 2004 at 05:28:10PM -0500, Jesse Vincent wrote:
>
>
>
> On Mon, Dec 20, 2004 at 04:42:19PM -0500, Todd Chapman wrote:
> > There is no problem when running with standalone_httpd.
>
> Ok. so it looks like something in how the other handlers deal with
> devel mode. Which other handler is it failing on?
Not sure what you are asking. Running under mod_per 1.27
>
>
> > Some test fail. See attached outout file.
>
> That sure looks like "you have another webserver running"
I'm pretty sure I wasn't but I ran it again to be safe.
Results attached.
-------------- next part --------------
mkdir -p //opt/rt3/etc
cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm
[ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm //opt/rt3/etc/RT_SiteConfig.pm
chgrp rt //opt/rt3/etc/RT_Config.pm
chown root //opt/rt3/etc/RT_Config.pm
chgrp rt //opt/rt3/etc/RT_SiteConfig.pm
chown root //opt/rt3/etc/RT_SiteConfig.pm
Installed configuration. about to install rt in /opt/rt3
/usr/local/bin/perl -pi -e 's/Set\(\$DatabaseName.*\);/Set\(\$DatabaseName, "rt3regression"\);/' //opt/rt3/etc/RT_Config.pm
mkdir -p //opt/rt3/var/log
mkdir -p //opt/rt3/var/mason_data
mkdir -p //opt/rt3/var/mason_data/cache
mkdir -p //opt/rt3/var/mason_data/etc
mkdir -p //opt/rt3/var/mason_data/obj
mkdir -p //opt/rt3/var/session_data
mkdir -p //opt/rt3/share/html
mkdir -p //opt/rt3/local/html
mkdir -p //opt/rt3/local/etc
mkdir -p //opt/rt3/local/lib
mkdir -p //opt/rt3/local/po
[ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib
cp -rp lib/* //opt/rt3/lib
mkdir -p //opt/rt3/etc
cp -rp \
etc/acl.* \
etc/initialdata \
etc/schema.* \
//opt/rt3/etc
mkdir -p //opt/rt3/bin
chmod +x bin/rt-mailgate \
bin/rt-crontool
cp -rp \
bin/rt-mailgate \
bin/mason_handler.fcgi \
bin/mason_handler.scgi \
bin/standalone_httpd \
bin/mason_handler.svc \
bin/rt \
bin/webmux.pl \
bin/rt-crontool \
//opt/rt3/bin
mkdir -p //opt/rt3/sbin
chmod +x \
sbin/rt-dump-database \
sbin/rt-setup-database \
sbin/rt-test-dependencies
cp -rp \
sbin/rt-dump-database \
sbin/rt-setup-database \
sbin/rt-test-dependencies \
//opt/rt3/sbin
[ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html
cp -rp ./html/* //opt/rt3/share/html
cp -rp ./local/html/* //opt/rt3/local/html
cp: cannot stat `./local/html/*': No such file or directory
make: [local-install] Error 1 (ignored)
cp -rp ./local/po/* //opt/rt3/local/po
cp: cannot stat `./local/po/*': No such file or directory
make: [local-install] Error 1 (ignored)
cp -rp ./local/etc/* //opt/rt3/local/etc
cp: cannot stat `./local/etc/*': No such file or directory
make: [local-install] Error 1 (ignored)
# RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir
[ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc
make: [doc-install] Error 1 (ignored)
[ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc
cp -rp ./README //opt/rt3/share/doc
About to wipe your database for a regression test. ABORT NOW with Control-C
/usr/local/bin/perl //opt/rt3/sbin/rt-setup-database --action drop --dba root --dba-password '' --force
Dropping mysql database rt3regression.
/usr/local/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --dba-password ''
Now creating a database for RT.
Creating mysql database rt3regression.
Now populating database schema.
Creating database schema.
schema sucessfully inserted
Now inserting database ACLs
Now inserting RT core system objects
Checking for existing system user...not found. This appears to be a new installation.
Creating system user...done.
Now inserting RT data
Creating Superuser ACL...Creating groups...3.4.5.6.7.8.9.done.
Creating users...10.12.done.
Creating queues...1.2.done.
Creating ACL...2.3.done.
Creating ScripActions...1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions...1.2.3.4.5.6.7.8.9.10.done.
Creating templates...1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips...1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
[ -d lib/t/autogen ] || mkdir lib/t/autogen
find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 /usr/local/bin/perl sbin/extract_pod_tests
find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 /usr/local/bin/perl sbin/extract_pod_tests
find lib -name \*pm |grep -v .svn | grep -v \*.in |xargs -n 1 /usr/local/bin/perl sbin/extract_pod_tests
find bin -type f |grep -v .svn | grep -v \~ | grep -v "\.in" | xargs -n 1 /usr/local/bin/perl sbin/extract_pod_tests
# Make the libraries readable
chmod 0755 //opt/rt3
chown -R root //opt/rt3/lib
chgrp -R bin //opt/rt3/lib
chmod -R u+rwX,go-w,go+rX //opt/rt3/lib
chmod 0755 //opt/rt3/bin
chmod 0755 //opt/rt3/bin
chmod 0755 //opt/rt3/etc
chmod 0500 //opt/rt3/etc/*
#TODO: the config file should probably be able to have its
# owner set seperately from the binaries.
chown -R root //opt/rt3/etc
chgrp -R rt //opt/rt3/etc
chmod 0550 //opt/rt3/etc/RT_Config.pm
chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm
# Make the interfaces executable
chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc
chgrp rt //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc
chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc
# Make the web ui readable by all.
chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \
//opt/rt3/local/html \
//opt/rt3/local/po
chown -R root //opt/rt3/share/html \
//opt/rt3/local/html
chgrp -R bin //opt/rt3/share/html \
//opt/rt3/local/html
# Make the web ui's data dir writable
chmod 0770 //opt/rt3/var/mason_data \
//opt/rt3/var/session_data
chown -R wwwrun //opt/rt3/var/mason_data \
//opt/rt3/var/session_data
chgrp -R nogroup //opt/rt3/var/mason_data \
//opt/rt3/var/session_data
/usr/sbin/apachectl stop
/usr/sbin/apachectl stop: httpd (no pid file) not running
sleep 10
/usr/sbin/apachectl start
/usr/sbin/apachectl start: httpd started
sleep 5
prove -Ilib lib/t/setup_regression.t lib/t/autogen/ lib/t/regression/
lib/t/setup_regression...................................ok
lib/t/autogen/autogen-RT-Scrips_Overlay..................ok
lib/t/autogen/autogen-RT-CustomField_Overlay.............ok
lib/t/autogen/autogen-RT-Queues_Overlay..................ok
lib/t/autogen/autogen-RT-Template_Overlay................ok
lib/t/autogen/autogen-RT-ScripConditions_Overlay.........ok
lib/t/autogen/autogen-RT-Date............................ok
lib/t/autogen/autogen-RT-Ticket_Overlay..................ok
lib/t/autogen/autogen-RT-System..........................ok
lib/t/autogen/autogen-RT-Templates_Overlay...............ok
lib/t/autogen/autogen-RT-URI__fsck_com_rt................ok
lib/t/autogen/autogen-RT-Tickets_Overlay_SQL.............ok
lib/t/autogen/autogen-RT-Handle..........................ok
lib/t/autogen/autogen-RT-Action__CreateTickets...........ok
lib/t/autogen/autogen-RT-Action__Generic.................ok
lib/t/autogen/autogen-RT-Action__SendEmail...............ok
lib/t/autogen/autogen-RT-ACL_Overlay.....................ok
lib/t/autogen/autogen-RT-Attribute_Overlay...............ok
lib/t/autogen/autogen-RT-Users_Overlay...................ok
lib/t/autogen/autogen-RT-Tickets_Overlay.................ok
lib/t/autogen/autogen-RT-EmailParser.....................ok
lib/t/autogen/autogen-RT-I18N............................ok
lib/t/autogen/autogen-RT-Principals_Overlay..............ok
lib/t/autogen/autogen-RT-GroupMembers_Overlay............ok
lib/t/autogen/autogen-RT-SearchBuilder...................ok
lib/t/autogen/autogen-RT-User_Overlay....................ok
lib/t/autogen/autogen-RT-CurrentUser.....................ok
lib/t/autogen/autogen-RT-Group_Overlay...................ok
lib/t/autogen/autogen-RT-Attributes_Overlay..............ok
lib/t/autogen/autogen-RT-Attachment_Overlay..............ok
lib/t/autogen/autogen-RT-Transactions_Overlay............ok
lib/t/autogen/autogen-RT-Links_Overlay...................ok
lib/t/autogen/autogen-RT-Scrip_Overlay...................ok
lib/t/autogen/autogen-RT-Interface__CLI..................ok
lib/t/autogen/autogen-RT-Interface__Email................ok
lib/t/autogen/autogen-RT-Interface__Web..................ok
lib/t/autogen/autogen-RT-Queue_Overlay...................ok
lib/t/autogen/autogen-RT-Condition__Generic..............ok
lib/t/autogen/autogen-RT-Condition__OwnerChange..........ok
lib/t/autogen/autogen-RT-ScripActions_Overlay............ok
lib/t/autogen/autogen-RT-Record..........................ok
lib/t/autogen/autogen-RT-Search__Generic.................ok
lib/t/autogen/autogen-RT-Search__FromSQL.................ok
lib/t/autogen/autogen-RT-Search__ActiveTicketsInQueue....ok
lib/t/autogen/autogen-RT-Attachments_Overlay.............ok
lib/t/autogen/autogen-RT-ScripCondition_Overlay..........ok
lib/t/autogen/autogen-RT-ScripAction_Overlay.............ok
lib/t/autogen/autogen-RT-Groups_Overlay..................ok
lib/t/autogen/autogen-RT-GroupMember_Overlay.............ok
lib/t/autogen/autogen-RT-Transaction_Overlay.............ok
lib/t/autogen/autogen-RT-ACE_Overlay.....................ok
lib/t/autogen/autogen-RT-Link_Overlay....................ok
lib/t/autogen/autogen-RT-CachedGroupMembers_Overlay......ok
lib/t/autogen/autogen-RT-CustomFields_Overlay............ok
lib/t/autogen/autogen-RT.................................ok
lib/t/regression/08web_cf_access.........................Use of uninitialized value in concatenation (.) or string at lib/t/regression/08web_cf_access.t line 11.
Name "RT::WebPath" used only once: possible typo at lib/t/regression/08web_cf_access.t line 11.
# Failed test (lib/t/regression/08web_cf_access.t at line 24)
# got: "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final/"...
# length: 636
# doesn't match '(?-xism:Logout)'
# Failed test (lib/t/regression/08web_cf_access.t at line 26)
# got: "Index of /"
# length: 10
# expected: "RT Administration"
# length: 17
# strings begin to differ at char 1
# Failed test (lib/t/regression/08web_cf_access.t at line 28)
# got: "Index of /"
# length: 10
# expected: "Select a Custom Field"
# length: 21
# strings begin to differ at char 1
[Mon Dec 20 22:39:55 2004] [crit]: Can't call method "value" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.3/WWW/Mechanize.pm line 522.
(lib/RT.pm:285)
# Looks like you failed 3 tests of 4.
dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
lib/t/regression/03basic_web.............................Can't call method "find_input" on an undefined value at lib/t/regression/03basic_web.t line 30.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
lib/t/regression/05cronsupport...........................ok
lib/t/regression/04send_email............................ok
lib/t/regression/07acl...................................[Mon Dec 20 22:41:22 2004] [crit]: Can't call method "find_input" on an undefined value at lib/t/regression/07acl.t line 40.
(lib/RT.pm:285)
ok
lib/t/regression/01ticket_link_searching.................ok
lib/t/regression/09record_cf_api.........................ok
10/130 skipped: TODO: We want fields that doesn't allow to set unexpected values
lib/t/regression/06mailgateway...........................An Error Occurred
=================
500 Can't connect to bad.address:80 (Bad hostname
'bad.address')
Connecting to http://localhost//REST/1.0/NoAuth/mail-gateway at /opt/rt3/bin/rt-mailgate line 99, <> chunk 1.
An Error Occurred
=================
404 Not Found
This is /opt/rt3/bin/rt-mailgate exiting because of an undefined server error at /opt/rt3/bin/rt-mailgate line 147, <> chunk 1.
# Failed test (lib/t/regression/06mailgateway.t at line 89)
# got: '75'
# expected: '0'
# Failed test (lib/t/regression/06mailgateway.t at line 98)
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 116)
# got: '75'
# expected: '0'
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 152)
# got: '75'
# expected: '0'
# Failed test (lib/t/regression/06mailgateway.t at line 160)
# Failed test (lib/t/regression/06mailgateway.t at line 163)
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 185)
# got: '75'
# expected: '0'
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 210)
# got: '75'
# expected: '0'
# Failed test (lib/t/regression/06mailgateway.t at line 215)
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 237)
# got: '75'
# expected: '0'
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 262)
# got: '75'
# expected: '0'
# Failed test (lib/t/regression/06mailgateway.t at line 266)
An Error Occurred
=================
404 Not Found
# Failed test (lib/t/regression/06mailgateway.t at line 295)
# got: '75'
# expected: '0'
# Failed test (lib/t/regression/06mailgateway.t at line 303)
# Failed test (lib/t/regression/06mailgateway.t at line 317)
[Mon Dec 20 22:41:51 2004] [crit]: Can't call method "Id" on an undefined value at lib/t/regression/06mailgateway.t line 319.
(lib/RT.pm:285)
# Looks like you failed 15 tests of 40.
dubious
Test returned status 15 (wstat 3840, 0xf00)
DIED. FAILED tests 4, 7, 9, 16, 18-19, 21, 25-26, 28, 32-33, 35, 38, 40
Failed 15/40 tests, 62.50% okay
Failed 3/63 test scripts, 95.24% okay. 18/963 subtests failed, 98.13% okay.
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
lib/t/regression/03basic_web.t 255 65280 1 0 0.00% ??
lib/t/regression/06mailgateway.t 15 3840 40 15 37.50% 4 7 9 16 18-19
21 25-26 28
32-33 35 38 40
lib/t/regression/08web_cf_access. 3 768 4 3 75.00% 2-4
10 subtests skipped.
make: *** [run-regression] Error 2
More information about the Rt-devel
mailing list