Mantis bugtracker integration

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Re: Mantis bugtracker integration

Postby testtools420 » Wed Dec 02, 2015 8:53 am

1) posting same post on multiple forum areas is not a good approach IMHO
testtools420:I agree to it. But when there is no response for the message on other post i thought i would try in threads with similar topic where i might get an answer. If my approach is wrong i am sorry about it.

2) you need to check TestLink logs to try to understand what is happening.
describing your installation can be useful:
testlink & mantis are installed on same server?
testtools420: TL is installed on Windows Server 2012 R2 which is handeled by one team whereas Mantis is installed on another server and handeled by another team(a virtual machine with different instances). I am a tester and i don't understand codings but i am struggling to cope up with it :) :)
So, to my understanding i have to look at the logs on Windows Server 2012 R2

Question to u: I might be asking a dumb question but still will be a fool for 5 mins rather than being a fool for rest of my life.

Functionality of TL integrated with Mantis (interface:db) to my understanding is "A bug is created on Mantis BTS & this ID is linked in TL. There can be no updates made via TL to the bug created which will update the Mantis BTS. i.e in simple words are the TL & Mantis BTS synchronised?"
testtools420
Advanced user
 
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Mantis bugtracker integration

Postby testtools420 » Wed Dec 02, 2015 2:48 pm

Hi fman,

i have got logs & see that there was a warning issued.

Warning: E_WARNING The message of warning is as follows
mysql_connect(): Access denied for user 'mantisuser'@'xxxtestlink01.xyz.local' (using password: YES) - in C:\Bitnami\testlink-1.9.14-0\apps\testlink\htdocs\third_party\adodb\drivers\adodb-mysql.inc.php - Line 365
[15/Dec/1 15:38:00][ERROR][s7gelgls1t45pdqsti3k6h00i0][GUI]
Connect to Bug Tracker database fails: (interface: - Host:
->dbhost - DBName:
->dbname - User:
>dbuser) 0 -

'mantisituser'@'xxxtestlink01.xyz.local': Here i have made changes bcoz of confidentiallity reasons.

mantisuser -> is the username of Mantis db
xxxtestlink01.xyz.local -> Path of TL server

As i mentioned in previous post TL & Mantis db are installed on different server. why this ('mantisuser'@'xxxtestlink01.xyz.local') format in log contains part from Mantis & part from path related to TL?
It doesn't make sense for me. Is it right? If yes or no, any explanation for this?

If i am not wrong, should that not be DBusername@path of Mantis server instead of DBusername@path of TL server?

Is Bitnami Mantis Module only for Linux OS?

Mantis configuration: Is this configuration possible only when TL & Mantis are installed on same server? I have followed this procedure too but didn't help me
It is necessary to allow anonymous login for Mantis application:
• Create a user in the Mantis application from the manager control panel. In this example we add the "testlink" user:
Manage -> Manage Users
• Check that this user is "enabled" and give him the "reporter" access level.
• Add the following lines in the "installdir/apps/mantis/htdocs/config_inc.php" file
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'testlink';
• Log out from the Mantis application and check the "Login Anonymously" link works properly.
Once you configured Mantis, create a sample project to integrate with TestLink application.
testtools420
Advanced user
 
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Mantis bugtracker integration

Postby fman » Wed Dec 02, 2015 6:43 pm

If you are a tester and do not have (yet) sysadmin knowledge you need help from your sysadmin guys.
If there are not willing to help, then you need to start walking the road to learn about how MySQL grants work, and I hope you can understand this is not a topic for this forum or this post.
Things are simpler than it seems when people that work with you everyday is willing to help.

if TestLink is installed on SERVER-A anc mysql on DB-SERVER you need:

1) install a MySQL client on SERVER-A
2) try to connect FROM SERVER-A using the client installed on step 1, using SAME CREDENTIALS configured on testlink to MySQL on DB-SERVER

till you will not finish step (2) with OK, you will not be able to connect from TestLink

IMHO right solution is SOAP INTERFACE (that can have also some issues depending how PHP has been installed on windows)
I've lot of issues with SOAP ON MAC OS
fman
Member of TestLink Community
 
Posts: 3051
Joined: Tue Nov 15, 2005 7:19 am

Re: Mantis bugtracker integration

Postby testtools420 » Fri Dec 18, 2015 12:54 pm

My Problem:
There was an issue faced during configuration of Issue Tracker Management (ITM). The problem was that the example code as shown in TestLink's (TL) ITM was not functioning. i.e. a connection was not being established. A message was being displayed which was a known bug in 1.9.9 & was fixed in 1.9.10.

Known Bug in TL: http://mantis.testlink.org/view.php?id=6089
Duplicate Bug in TL (which resembles the message in my problem): http://mantis.testlink.org/view.php?id=6221

Our findings:
• A connection between TL database and Mantis database were checked. The connection was established
• But in the Bitnami user logs we could see a warning & an error message stating that a connection could not be established
• Many permutation and combinations were tried like enabling and disabling password (or) giving access rights in every level

Solution:
A patch was inserted in TL application packet. This patch contains commands (on HeidiSQL) which was written in excel sheet. The information in the patch is the same as that is present in configuration of ITM

Functionalites of ITM:
• A bug can be created from TL's GUI – at the moment not working
• A already existing bug can be added to a test case with the status of the bug. The status which can be seen in TL are assigned, resolved and closed – This functionality is working
testtools420
Advanced user
 
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Mantis bugtracker integration

Postby fman » Sat Dec 19, 2015 12:36 pm

see posting.php?mode=reply&f=1&t=7925 => only way to avoid duplicates
fman
Member of TestLink Community
 
Posts: 3051
Joined: Tue Nov 15, 2005 7:19 am

Previous

Return to TestLink 1.9



Who is online

Users browsing this forum: Bing [Bot] and 4 guests