ExportXMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1025
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Services & Integrations
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      every time resmoke runs it calls the tss_session method to create a token.
      https://github.com/10gen/mongo/blob/fea6ea9d2dfc6381e8acdaa9e95854156e46e9e1/bazel/resmoke/generate_tss_test_list.py#L227

      that token is used throughout the rest of the run of that task.

      However, we've been alerted that it means we use about 40K such tokens each day (likely the amount of times resmoke runs each day).

      The problem is it burns down our org allocation of tokens.

      We should find a way to have resmoke get this token outside of the resmoke task itself.

      Maybe have a cron task that runs every half hour and updates the token into an evergreen project param that all tasks will read from. (currently the TTL of the token is 1 hour). That should move from ~48K tokens per day to just 48.

            Assignee:
            Ron Neuman
            Reporter:
            Ron Neuman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: