You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_log_does_not_have "WARNING: Globus CFG ${GLOBUS_CFG} exists. This may be left over from earlier versions of zstash, and may cause issues. Consider deleting."${case_name}.log
90
+
check_log_has "INFO: ${INI_PATH} does NOT exist. This means we won't be able to read the local endpoint ID from it."${case_name}.log
91
+
check_log_has "INFO: Token file ${TOKEN_FILE} does NOT exist. This means we won't be able to load tokens from it."${case_name}.log
92
+
# From get_local_endpoint_id
93
+
check_log_has "INFO: Writing to empty ${INI_PATH}"${case_name}.log
94
+
check_log_has "INFO: Setting local_endpoint_id based on FQDN chrlogin2.lcrc.anl.gov:"${case_name}.log
95
+
# From get_transfer_client_with_auth
96
+
check_log_has "INFO: No stored tokens found - starting authentication"${case_name}.log
97
+
check_log_has "Please go to this URL and login:"${case_name}.log # Our one expected authentication prompt
check_log_does_not_have "WARNING: Globus CFG ${GLOBUS_CFG} exists. This may be left over from earlier versions of zstash, and may cause issues. Consider deleting."${case_name}.log
113
+
check_log_has "INFO: ${INI_PATH} exists. We can try to read the local endpoint ID from it."${case_name}.log # Differs from run1
114
+
check_log_has "INFO: Token file ${TOKEN_FILE} exists. We can try to load tokens from it."${case_name}.log # Differs from run1
115
+
# From get_local_endpoint_id
116
+
check_log_has "INFO: Setting local_endpoint_id based on ${INI_PATH}"${case_name}.log # Differs from run1
117
+
check_log_has "INFO: Setting local_endpoint_id based on FQDN chrlogin2.lcrc.anl.gov:"${case_name}.log
118
+
# From get_transfer_client_with_auth
119
+
check_log_has "INFO: Found stored refresh token - using it"${case_name}.log # Differs from run1
120
+
check_log_does_not_have "Please go to this URL and login:"${case_name}.log # There should be no login prompts for run2!
121
+
# From save_tokens
122
+
check_log_does_not_have "INFO: Tokens saved successfully"${case_name}.log # Differs from run1
f"{globus_cfg} exists. If this file does not have the proper settings, it may cause a TransferAPIError (e.g., 'Token is not active', 'No credentials supplied')"
105
-
)
106
-
else:
107
-
logger.info(
108
-
f"{globus_cfg} does not exist. zstash will need to prompt for authentications twice, and then you will need to re-run."
"The {} endpoint is not activated or the current activation expires soon. Please go to https://app.globus.org/file-manager/collections/{} and (re)activate the endpoint.".format(
173
-
ep_id, ep_id
174
-
)
54
+
f"The {ep_id} endpoint is not activated or the current activation expires soon. Please go to https://app.globus.org/file-manager/collections/{ep_id} and (re)activate the endpoint."
0 commit comments