A B created Bug JENKINS-20584
Issue Type: Bug Bug
Affects Versions: current
Assignee: Bruno P. Kinoshita
Components: testlink
Created: 14/Nov/13 1:55 PM
Description:

After executing jenkins job the test results are OK on jenkins side:

Test case ID Test case external ID Version Name Test project ID Execution status
19 sbx-4 1 tl001 1 Passed

However, it is not transferred to TestLink.
The tail of the testlink log file contains:

[>>][5284cdc1e1411435011601][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:57]
[13/Nov/14 13:18:58][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: testprojectid - in D:\ext\wamp\www\testlink\lib\api\xmlrpc\v1\xmlrpc.class.php - Line 381
[<<][5284cdc1e1411435011601][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:57][13/Nov/14 13:18:58][took 0.192646 secs]
[>>][5284cdc22a3b3609338074][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:58]
[13/Nov/14 13:18:58][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: testprojectid - in D:\ext\wamp\www\testlink\lib\api\xmlrpc\v1\xmlrpc.class.php - Line 381
[13/Nov/14 13:18:58][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: keywords - in D:\ext\wamp\www\testlink\lib\functions\testplan.class.php - Line 6699
[13/Nov/14 13:18:58][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: keywords - in D:\ext\wamp\www\testlink\lib\functions\testplan.class.php - Line 6728
[<<][5284cdc22a3b3609338074][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:58][13/Nov/14 13:18:58][took 0.206036 secs]
[>>][5284cdc26e9ca989224517][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:58]
[13/Nov/14 13:18:58][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: testcaseexternalid - in D:\ext\wamp\www\testlink\lib\api\xmlrpc\v1\xmlrpc.class.php - Line 2996
[<<][5284cdc26e9ca989224517][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:18:58][13/Nov/14 13:18:58][took 0.19771 secs]
[>>][5284cdc4482b1050781380][DEFAULT][/testlink/lib/api/xmlrpc/v1/xmlrpc.php][13/Nov/14 13:19:00]
[13/Nov/14 13:19:00][WARNING][<nosession>][GUI]
E_NOTICE
Undefined index: testprojectid - in D:\ext\wamp\www\testlink\lib\api\xmlrpc\v1\xmlrpc.class.php - Line 381

I checked whether testprojectid is processed correctly.
The following commands are included into the jenkins job:

echo TESTLINK_TESTCASE_ID= %TESTLINK_TESTCASE_ID%
echo TESTLINK_TESTCASE_NAME= %TESTLINK_TESTCASE_NAME%
echo TESTLINK_TESTCASE_TESTSUITEID= %TESTLINK_TESTCASE_TESTSUITEID%
echo TESTLINK_TESTCASE_TESTPROJECTID= %TESTLINK_TESTCASE_TESTPROJECTID%
echo TESTLINK_TESTCASE_AUTHOR= %TESTLINK_TESTCASE_AUTHOR%
echo TESTLINK_TESTCASE_SUMMARY= %TESTLINK_TESTCASE_SUMMARY%
echo TESTLINK_BUILD_NAME= %TESTLINK_BUILD_NAME%
echo TESTLINK_TESTPLAN_NAME= %TESTLINK_TESTPLAN_NAME%
echo TESTLINK_TESTPROJECT_NAME= %TESTLINK_TESTPROJECT_NAME%
echo TESTLINK_TESTCASE_PYTHON_CLASS= %TESTLINK_TESTCASE_PYTHON_CLASS%

The result is:

TESTLINK_TESTCASE_ID= 19
TESTLINK_TESTCASE_NAME= tl001
TESTLINK_TESTCASE_TESTSUITEID= null
TESTLINK_TESTCASE_TESTPROJECTID= 1
TESTLINK_TESTCASE_AUTHOR= null
TESTLINK_TESTCASE_SUMMARY=
TESTLINK_BUILD_NAME= Build Name
TESTLINK_TESTPLAN_NAME= Test Plan 1
TESTLINK_TESTPROJECT_NAME= Sandbox
TESTLINK_TESTCASE_PYTHON_CLASS= lululu

Thus, testprojectid was received by jenkins, but it is not returned back to testlink.
What is the problem?

Environment: jenkins 1.539
testlink 1.9.8
plugin 3.7
Project: Jenkins
Priority: Major Major
Reporter: A B
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to