def METHOD_NAME():
    print("test_logout")
    # execute the azcopy login.
    output = util.Command("logout").execute_azcopy_copy_command_get_output()
    if output is None:
        print("error logout")
        print("test_logout test failed")
        return
    # for windows, further check access token file, for other os, report success if login succeeded.
    if os.name == 'nt':
        # get the job Id of new job started by parsing the azcopy console output.
        output = util.Command("info").add_arguments("AzCopyAppPath").execute_azcopy_info()
        if output is None:
            print("error get info")
            print("test_logout test internal error, fail to validate logout")
        print("test_logout AzCopyAppPath detected ", output)
        token_file_path = os.path.join(output, "AccessToken.json")
        if os.path.isfile(token_file_path):
            print("find cached AccessToken.json after logout")
            print("test_logout test failed")
        else:
            print("test_logout passed successfully")
    else:
        print("test_logout passed successfully")