I tried to use tests/scripts/release/gather_prs.py
but falied with logs as below:
$ export GITHUB_TOKEN="xxxxxx" # ignored
$ python3 ./gahter_prs.py --from_commit xxxxxxxxxxxxxxxxxx --to_commit xxxxxxxxxxxxxxxx
// logs ignored
...
['0abcad137448d6ef786fa90010d8320193c68f6f', '0d2b4bcd63ddc5d8e38c7be67180a0de6e41592e', '672e6cdd2ed21773d761d24f711902bded8b3d
96', 'e2fb5039a2472403f2f6dfd65ac6b94de6758271', 'c7274fd3b0f693fc6214a450e13d5e99026337ae', 'ed583092dbeb4f1b0458ad015f607f0746d61e80']
5920
Traceback (most recent call last):
File "/home/stayua01/code/tvm/tests/scripts/release/gather_prs.py", line 202, in <module>
fetch_pr_data(args, cache)
File "/home/stayua01/code/tvm/tests/scripts/release/gather_prs.py", line 101, in fetch_pr_data
r = github.graphql(
File "/home/stayua01/code/tvm/ci/scripts/jenkins/git_utils.py", line 97, in graphql
raise RuntimeError(msg)
RuntimeError: Error fetching data with query:
query ($owner: String!, $name: String!, $after: String, $pageSize: Int!) { repository(owner: $owner, name: $name) { defaultBranchRef { name t
arget { ... on Commit { oid history(after: $after, first: $pageSize) { pageInfo { hasNextPage endCursor } nodes { oid committedDate associate
dPullRequests(first: 1) { nodes { number additions changedFiles deletions author { login } title body } } } } } } } }}
variables:
{'owner': 'apache', 'name': 'tvm', 'after': '4d7e8904073f3e59a3b2239d3b41ef31de06cc53 6000', 'pageSize': 80}
error:
{
"errors": [
{
"message": "Something went wrong while executing your query. Please include `EBA2:51E9:BA8EFC:BFB429:642C2D64` when reporting this issu
e."
}
]
}
Any advice please.