code-intelligence icon indicating copy to clipboard operation
code-intelligence copied to clipboard

Issue Triage Action Is Failing Missing Pytz

Open jlewi opened this issue 5 years ago • 2 comments

The issue triage action is failing because the import pytz can not be found.

Run kubeflow/code-intelligence/Issue_Triage/action@master
/usr/bin/docker run --name kubeflowkubeflowtriage_81c626 --label 671ee6 --workdir /github/workspace --rm -e INPUT_ISSUE_NUMBER -e INPUT_GITHUB_PERSONAL_ACCESS_TOKEN -e INPUT_NEEDS_TRIAGE_PROJECT_CARD_ID -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/kubeflow/kubeflow":"/github/workspace" kubeflow/kubeflow-triage
Traceback (most recent call last):
  File "/py/issue_triage/triage_for_action.py", line 1, in <module>
    from issue_triage.triage import IssueTriage
  File "/py/issue_triage/triage.py", line 2, in <module>
    from code_intelligence import graphql
  File "/py/code_intelligence/graphql.py", line 2, in <module>
    from code_intelligence import util
  File "/py/code_intelligence/util.py", line 4, in <module>
    import pytz
ModuleNotFoundError: No module named 'pytz'
##[error]Docker run failed with exit code 1

/assign @jlewi

jlewi avatar Jan 06 '20 18:01 jlewi

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jan 06 '20 18:01 issue-label-bot[bot]

New image was built. https://hub.docker.com/r/kubeflow/kubeflow-triage

Still failing.

Update Kanban6s
##[error]Docker run failed with exit code 1
Run kubeflow/code-intelligence/Issue_Triage/action@master
/usr/bin/docker run --name kubeflowkubeflowtriage_345db4 --label 671ee6 --workdir /github/workspace --rm -e INPUT_ISSUE_NUMBER -e INPUT_GITHUB_PERSONAL_ACCESS_TOKEN -e INPUT_NEEDS_TRIAGE_PROJECT_CARD_ID -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/kubeflow/kubeflow":"/github/workspace" kubeflow/kubeflow-triage
Traceback (most recent call last):
  File "/py/issue_triage/triage_for_action.py", line 1, in <module>
    from issue_triage.triage import IssueTriage
  File "/py/issue_triage/triage.py", line 2, in <module>
    from code_intelligence import graphql
  File "/py/code_intelligence/graphql.py", line 2, in <module>
    from code_intelligence import util
  File "/py/code_intelligence/util.py", line 7, in <module>
    import json_log_formatter
ModuleNotFoundError: No module named 'json_log_formatter'
##[error]Docker run failed with exit code 1

jlewi avatar Jan 06 '20 21:01 jlewi