[ https://issues.apache.org/jira/browse/SUBMARINE-1335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
cdmikechen resolved SUBMARINE-1335. ----------------------------------- Resolution: Fixed > Fix jira version filter exception > --------------------------------- > > Key: SUBMARINE-1335 > URL: https://issues.apache.org/jira/browse/SUBMARINE-1335 > Project: Apache Submarine > Issue Type: Bug > Components: CI/CD > Reporter: cdmikechen > Priority: Major > Fix For: 0.8.0 > > > The filter that currently handles version information within the merge pr > code is not converted to a list, which can lead to version exceptions later > on: > {code} > Enter a JIRA id [SUBMARINE-1318]: > === JIRA SUBMARINE-1318 === > summary Add documentation for serve > assignee cdmikechen > status 处理中 > url https://issues.apache.org/jira/browse/SUBMARINE-1318 > Enter comma-separated fix version(s) [0.8.0]: 0.8.0 > Traceback (most recent call last): > File > "/Users/chenxiang/Documents/git/apache/submarine/./dev-support/cicd/merge_submarine_pr.py", > line 359, in <module> > resolve_jira_issues(title, merged_refs, jira_comment) > File > "/Users/chenxiang/Documents/git/apache/submarine/./dev-support/cicd/merge_submarine_pr.py", > line 299, in resolve_jira_issues > resolve_jira_issue(merge_branches, comment, jira_id) > File > "/Users/chenxiang/Documents/git/apache/submarine/./dev-support/cicd/merge_submarine_pr.py", > line 285, in resolve_jira_issue > jira_fix_versions = list(map(lambda v: get_version_json(v), fix_versions)) > File > "/Users/chenxiang/Documents/git/apache/submarine/./dev-support/cicd/merge_submarine_pr.py", > line 285, in <lambda> > jira_fix_versions = list(map(lambda v: get_version_json(v), fix_versions)) > File > "/Users/chenxiang/Documents/git/apache/submarine/./dev-support/cicd/merge_submarine_pr.py", > line 283, in get_version_json > return list(filter(lambda v: v.name == version_str, versions))[0].raw > IndexError: list index out of range > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org For additional commands, e-mail: dev-h...@submarine.apache.org