code: def sleep(secs):
      if getpass.getuser() == "jenkins":
          period = max(secs, 120)
      else:
          period = secs
          # if jenkins, don't let it sleep more than 2 minutes
      # due to left over h2o.sleep(3600)
      time.sleep(period)
  
imports: import sys, os, time, json, datetime, errno, stat, getpass, requests, pprint
  import h2o
label_desc: Use image node_id 5 for calling a global function with example usage: sleep(secs) without return types