Bug 1701936 - comment-on-issue smoke job is experiencing crashes in certain conditions
Summary: comment-on-issue smoke job is experiencing crashes in certain conditions
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: project-infrastructure
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-22 13:54 UTC by Shyamsundar
Modified: 2019-04-22 18:16 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-04-22 18:16:34 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gluster glusterfs-patch-acceptance-tests pull 186 0 None None None 2019-04-22 15:19:18 UTC

Description Shyamsundar 2019-04-22 13:54:32 UTC
Description of problem:

The smoke job at [1] failed with the following stack trace, and hence smoke is failing for the patch under consideration.

The stack in the logs looks as follows,

03:04:53 [comment-on-issue] $ /bin/sh -xe /tmp/jenkins7951448835552971908.sh
03:04:53 + echo https://review.gluster.org/22471
03:04:53 https://review.gluster.org/22471
03:04:53 + echo master
03:04:53 master
03:04:53 + /opt/qa/github/handle_github.py --repo glusterfs -c
03:04:55 Issues found in the commit message: [{u'status': u'Fixes', u'id': u'647'}]
03:04:55 Bug fix, no extra flags required
03:04:55 No issues found in the commit message
03:04:55 Old issues: []
03:04:55 Traceback (most recent call last):
03:04:55   File "/opt/qa/github/handle_github.py", line 187, in <module>
03:04:55     main(ARGS.repo, ARGS.dry_run, ARGS.comment_file)
03:04:55   File "/opt/qa/github/handle_github.py", line 165, in main
03:04:55     github.comment_on_issues(newissues, commit_msg)
03:04:55   File "/opt/qa/github/handle_github.py", line 47, in comment_on_issues
03:04:55     self._comment_on_issue(issue['id'], comment)
03:04:55 TypeError: string indices must be integers

Request an analysis and fix of the same as required.

[1] Smoke job link: https://build.gluster.org/job/comment-on-issue/13672/console

Comment 2 Deepshikha khandelwal 2019-04-22 18:16:34 UTC
It is fixed now: https://build.gluster.org/job/comment-on-issue/13697/console


Note You need to log in before you can comment on or make changes to this bug.