SCMBUG Integration

venkata created the topic: SCMBUG Integration
Hi All,

I’m in phase of implementing SVN1.7.7 and Bugzilaa 3.6.2 versions using SCMBUG. I’ve done all the configuration changes in Daemon.conf and glue.conf according to our project requirement.

When i try to commit any file against the bug num assigned to me,getting following error.

Error: Scmbug ERROR> Connection.pm:371:Scmbug::Connection::submit_request –

Error: ** Scmbug error 24: The daemon-spawned connection handler exited abnormally. Please check the daemon error logs.

Below are the errors in log files which i got.

2012/04/16 14:49:55 Scmbug WARN> Daemon.pm:582:Scmbug::Daemon::Daemon::spawn_child – 127.0.0.1:56483 Connection from SVN.BASE processed
2012/04/16 14:49:56 Scmbug WARN> Daemon.pm:568:Scmbug::Daemon::Daemon::spawn_child – 127.0.0.1:56484 Processing connection from SVN.BASE
2012/04/16 14:49:56 Scmbug WARN> Process.pm:866:Scmbug::Daemon::Process::process_activity_commit – 127.0.0.1:56484 Processing an ‘activity_commit’ for bug id ‘25007’ from SCM user ‘pramod.ashrith’
2012/04/16 14:49:56 Scmbug ERROR> Error.pm:103:Bugzilla::Error::_throw_error – You are not authorized to access bug #25007. To see this bug, you must
first log in to an account with the appropriate permissions.

I’ve access to the following bug in Bugzilla. Do we need to change anything in any Perl Module files..

Regards,
Pramod

rajeshkumar replied the topic: Re: SCMBUG Integration
I guess there are some issues with Permission. Have you re-verified all of your access such as Bugzilaa + SVN + USER?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

venkata replied the topic: Re: SCMBUG Integration
Hi Rajesh,

Here are my below cridentials of SVN and Bugzilla.

SVN : pramod.ashrith
Bugzilla: pramod.ashrith@wipro.com

when i try to commit anything against the bug it says you don’t have the permission,i’m not understanding what permission is required, since the bug is assigned against me..please can you help me regarding this..if you share ur contact num i’l try to explain it in detail..you can text me or call me on this num ..

9591300221.

Regards,
Pramod

rajeshkumar replied the topic: Re: SCMBUG Integration
Hi Pramod,

I do not encourage sharing id/password info on public portal. Please try to find answer for following..
1. Do You have access on source code?
2. The web server can Bugzilla/Template.pm?
3. See whats the access level has been used to setup Bugzill/SBN integration.

if you can post error message, that might more helpful for you.

Also, you may want to to free support www.bugzilla.org/support/
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

venkata replied the topic: Re: SCMBUG Integration
Rajesh,

1. I’ve access at source code level.
2. The web server can Bugzilla/Template.pm? I din’t get this point what exactly you mean..
3.we are using email id and username.
exle SVN Usernme: pramod.ashrith
Bugzilla username: pramod.ashrith@abc.com

Scenario 1: When the bug is not assigned against my name when i try to commit i’m getting the proper message saying the bug id is not assigned to you, and it is assigned to some x person.Exle shown below.

Error: ** Scmbug error 7: Bug ‘20902’ does not belong to the product ‘BCG’. It belongs
Error: to product ‘xyz’.
Error: Bug ‘20902’ is not assigned to ‘pramod.ashrith’. It is assigned to ‘sangamesh.halidoddi@xyz.com’.

Scenario 2: when i try to commit any bug which is assigned to me in bugzilla,i’m getting the error in Daemon error logs.

Error: ** Scmbug error 7: Bug ‘25007’ is not assigned to ‘pramod.ashrith’. It is
Error: assigned to ‘pramod.ashrith@abc.com’.

Rajesh,if you observe in scenario 2 Error mesg..pramod.ashrith is SVN username and pramod.ashrith@abc.com is bugzilla username..

Pre-commit is blocking for the commit to happen.

If i use same username in SVN and Bugzilla i.e pramod.ashrith@abc.com
I’m getting below error..

Here Post-commit is blocking and the messages are not getting updated in bugzilla.

Error: ** Scmbug error 24: The daemon-spawned connection handler exited abnormally. Please check the daemon error logs.
Daemon Error log says..

2012/04/27 10:53:19 Scmbug WARN> Daemon.pm:582:Scmbug::Daemon::Daemon::spawn_child – 127.0.0.1:54909 Connection from SVN.BASE processed
2012/04/27 10:53:19 Scmbug WARN> Daemon.pm:568:Scmbug::Daemon::Daemon::spawn_child – 127.0.0.1:54910 Processing connection from SVN.BASE
2012/04/27 10:53:19 Scmbug WARN> Process.pm:866:Scmbug::Daemon::Process::process_activity_commit – 127.0.0.1:54910 Processing an ‘activity_commit’ for bug id ‘25007’ from SCM user ‘pramod.ashrith@abc.com’
2012/04/27 10:53:20 Scmbug ERROR> Error.pm:103:Bugzilla::Error::_throw_error – You are not authorized to access bug #25007. To see this bug, you must
first log in to an account with the appropriate permissions.

If i check Error.pm in the line num 103 it says $DAEMON_ERROR_DAEMON_MODE_MISSING
i’m not getting what exactly it means..

I’ve used DAEMON_MODE has ‘auto’ in daemon.conf file which chooses b/w threaded and forked mode depending on the OS.

Rajesh,i’m stuck in the middle of integration..
1. whether we need to change anything for regulgar expression matching for SVN/Bugzilla in Daemon.conf and glue.conf?
please help me to solve this issue..I hope you have got my issues clearly..If you need any more clarrification from my end..please revert back.

I would like to hear from you soon.

Regards,
Ashrith

venkata replied the topic: Re: SCMBUG Integration
Rajesh,

Any update about the below topic.Please do let me know if you get any idea.

Regards,
Pramod

rajeshkumar replied the topic: Re: SCMBUG Integration
Hi,

I posted same questions in mailing list and found that following answer. Hope this is helpful for you.

> I am just trying to help my friends but finding difficulty. Group members
> would like to take this issues up?

The SCMBug mailing list may be of help, as your problems are really
SCMBug specific. The last post on the list was almost one year ago,
the latest release of SCMBug in February last year and has known
compatibility issues with current versions of Bugzilla. It seems to me
that the author of SCMBug is really busy with his other projects now
and there’s a new extension for Bugzilla available which integrates it
with Subversion. You or your friends therefore may consider not using
SCMBug at all, unless you really need the features it provides.

scmbug-users@net.mkgnu.net
code.google.com/p/bugzilla-vcs/

> If i use same username in SVN and Bugzilla i.e pramod.ashrith@abc.com
> I’m getting below error..

SCMBug provides mechanisms in the configuration file to map SVN- with
Bugzilla-usernames, but in my opinion it is easier to use the same
für both systems.

> 2012/04/27 10:53:20 Scmbug ERROR>
> Error.pm:103:Bugzilla::Error::_throw_error – You are not authorized to
> access bug #25007. To see this bug, you must
> first log in to an account with the appropriate permissions.

I may be wrong but from my understanding SCMBug never needed to
authenticate to Bugzilla because even while it used some of
Bugzilla’s classes, it always was low level underneath authentication
and some things were directly added using the database. The error
message looks to me as if the account used to commit is even not able
to add a comment to the bug using the webinterface and therefore
SCMBug can’t do it, too.

I would check if the account is really able to see and change the bug
using the normal web interface after login to Bugzilla. I would doubt
it can, so change this and SCMBug should work, too.

> If i check Error.pm in the line num 103 it says
> $DAEMON_ERROR_DAEMON_MODE_MISSING
> i’m not getting what exactly it means..

I don’t think 103 is really the line were the error occurs, maybe it’s
some bug in using Log4perl or else.

Mit freundlichen Grüßen,

Thorsten Schöning

For more support, i suggest you to report here…

support-bugzilla@lists.mozilla.org
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :