Hi Manjit, thanks so much for this debugging information. This makes it easier for me to understand what's going on.
So, 1) Bugzilla.pm:integration_change_bug_resolution is not being called 2) Bugzilla.pm:integration_add_comment reports: bugid: '', username: '', : '' This means that the data received as a request to the daemon have not made it all the way through to this function. This is VERY puzzling. Especially because the daemon verifies that an activity supplies a username -- else it refuses to process it. How did execution reach this point without a username ? Perhaps a username was supplied in the beginning, and somehow was removed from the request ? 3) I need to explain the use of the file: .scmbug_consolidated_cvs_activities_manjit_136 This is an automatically maintained file (which apparently isn't getting deleted as it should be) that tries to merge commits in multiple directories into a single commit message in CVS. To avoid any confusion with this feature disable this feature by changing glue.conf to read: consolidate_cvs_messages => 0 I suspect this feature might have caused some of the problems you've been seeing. Also, I noticed you entered a log message of the format: "branch:HEAD bug 2:This is test file commit to the cvs status 2: resolved fixed " You don't need to enter the "branch: HEAD" in the top of the log message. Please don't enter this information. 4) I need you to apply the attached patch to Process.pm, to examine the data that is received by the daemon. Can you apply these 2 changes, disabling consolidate_cvs_messages and applying the patch, try again and report back ? Thanks, Kristis
? Makefile
? autom4te.cache
? config.log
? config.status
? configure
? product_release.conf
? verify_request.patch
? doc/manpages/Makefile
? doc/manpages/daemon.8.sgml
? doc/manpages/install_glue.1.sgml
? doc/manpages/merge.1.sgml
? doc/manpages/vdd_generator.1.sgml
? doc/manual/Makefile
? doc/manual/check_html.sh
? doc/manual/content/manual.sgml
? doc/manual/images/system_architecture.fig
? doc/paper_introduce/Makefile
? doc/paper_introduce/paper_introduce.tex
? packaging/debian/conffiles
? packaging/debian/control
? packaging/debian/copyright
? packaging/debian/init.d
? packaging/debian/manual
? packaging/debian/rules
? packaging/distribute/prepare.sh
? packaging/redhat/prepare.sh
? packaging/redhat/product.spec
? packaging/redhat/rpmmacros
? packaging/redhat/rpmrc
? packaging/windows/prepare.sh
? src/daemon/daemon.pl
? src/daemon/etc/TestDirector.conf.template
? src/daemon/etc/daemon.conf.template
? src/glue/bin/activity.pl
? src/glue/etc/product/glue.conf.template
? src/glue/etc/product/log_template
? src/glue/templates/cvs/latest/checkoutlist
? src/glue/templates/cvs/latest/commitinfo
? src/glue/templates/cvs/latest/loginfo
? src/glue/templates/cvs/latest/rcsinfo
? src/glue/templates/cvs/latest/taginfo
? src/glue/templates/cvs/latest/verifymsg
? src/glue/templates/cvs/latest_cvsnt/checkoutlist
? src/glue/templates/cvs/latest_cvsnt/commitinfo
? src/glue/templates/cvs/latest_cvsnt/loginfo
? src/glue/templates/cvs/latest_cvsnt/rcsinfo
? src/glue/templates/cvs/latest_cvsnt/taginfo
? src/glue/templates/cvs/latest_cvsnt/verifymsg
? src/glue/templates/cvs/up_to_1_11/checkoutlist
? src/glue/templates/cvs/up_to_1_11/commitinfo
? src/glue/templates/cvs/up_to_1_11/loginfo
? src/glue/templates/cvs/up_to_1_11/rcsinfo
? src/glue/templates/cvs/up_to_1_11/taginfo
? src/glue/templates/cvs/up_to_1_11/verifymsg
? src/glue/templates/git/latest/commit-msg
? src/glue/templates/stylesheets/vdd.sgml.header
? src/glue/templates/svn/latest/post-commit
? src/glue/templates/svn/latest/pre-commit
? src/scripts/install_glue.pl
? src/scripts/merge.pl
? src/scripts/rc
? src/scripts/vdd_generator.pl
? src/tests/Makefile
? src/tests/test_scm_common.inc
? src/tests/product.test/config/prep.sh
? src/tests/product.test/config/testers/mkgnu/daemon.conf.bugzilla
? src/tests/product.test/config/testers/mkgnu/daemon.conf.mantis
? src/tests/product.test/config/testers/mkgnu/daemon.conf.requesttracker
? src/tests/product.test/cvs/auto_commit_file.sh
? src/tests/product.test/cvs/auto_commit_file2.sh
? src/tests/product.test/cvs/create_vdd.sh
? src/tests/product.test/cvs/install_glue.sh
? src/tests/product.test/cvs/install_glue_no_hook_overwrite.sh
? src/tests/product.test/cvs/install_glue_wrong_ip.sh
? src/tests/product.test/cvs/set_none.sh
? src/tests/product.test/cvs/set_optional.sh
? src/tests/product.test/lib/common.inc
Index: src/lib/product/Daemon/Process.pm.in
===================================================================
RCS file: /projects/scmbug/cvsroot/system/src/lib/product/Daemon/Process.pm.in,v
retrieving revision 1.9
diff -u -r1.9 Process.pm.in
--- src/lib/product/Daemon/Process.pm.in 26 Dec 2007 10:00:27 -0000 1.9
+++ src/lib/product/Daemon/Process.pm.in 7 Feb 2008 18:34:46 -0000
@@ -147,9 +147,14 @@
}
$request->{ original_log_message } = $original_log_message;
+ open LOGFILE, ">> /tmp/logfile";
+ print LOGFILE "Process.pm.in:process_connection: request is " . Dumper ( $request );
+
# First, verify that the request was supplied in a valid format
($ret_val, $ret_message) = $self->check_request( $request );
+ print LOGFILE "Process.pm.in:process_connection: request was verified\n";
+ close LOGFILE;
if ($ret_val == 0) {
# Since the format was valid, process this activity
($ret_val, $ret_message) = $self->process_activity( $request );
signature.asc
Description: This is a digitally signed message part
_______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
