ozerpekozcan commented on issue #48796:
URL: https://github.com/apache/airflow/issues/48796#issuecomment-2783182064
I am sending logs with logging_level = DEBUG. Everything seems like ok
except the task does not change its state to successful. Even if I refresh
[2025-04-07, 14:23:21 CEST] {base.py:84} INFO - Retrieving connection
'graph_test'
[2025-04-07, 14:23:21 CEST] {msgraph.py:270} INFO - Creating Microsoft Graph
SDK client v1.0 for conn_id: graph_test
[2025-04-07, 14:23:21 CEST] {msgraph.py:275} INFO - Host:
https://api.powerbi.com
[2025-04-07, 14:23:21 CEST] {msgraph.py:276} INFO - Base URL:
https://api.powerbi.com/v1.0
[2025-04-07, 14:23:21 CEST] {msgraph.py:277} INFO - Client id: <client id>
[2025-04-07, 14:23:21 CEST] {msgraph.py:278} INFO - Client secret: ***
[2025-04-07, 14:23:21 CEST] {msgraph.py:279} INFO - API version: v1.0
[2025-04-07, 14:23:21 CEST] {msgraph.py:280} INFO - Scope:
['https://analysis.windows.net/powerbi/api/.default']
[2025-04-07, 14:23:21 CEST] {msgraph.py:281} INFO - Verify: False
[2025-04-07, 14:23:21 CEST] {msgraph.py:282} INFO - Timeout: None
[2025-04-07, 14:23:21 CEST] {msgraph.py:283} INFO - Trust env: True
[2025-04-07, 14:23:21 CEST] {msgraph.py:284} INFO - Authority:
login.microsoftonline.com
[2025-04-07, 14:23:21 CEST] {msgraph.py:285} INFO - Allowed hosts:
['login.microsoftonline.com']
[2025-04-07, 14:23:21 CEST] {msgraph.py:286} INFO - Proxies: {}
[2025-04-07, 14:23:21 CEST] {msgraph.py:287} INFO - HTTPX Proxies: {}
[2025-04-07, 14:23:21 CEST] {msgraph.py:233} DEBUG - authority:
login.microsoftonline.com
[2025-04-07, 14:23:21 CEST] {msgraph.py:355} INFO - Tenant id: <tenant id>
[2025-04-07, 14:23:21 CEST] {msgraph.py:356} INFO - Certificate path: None
[2025-04-07, 14:23:21 CEST] {msgraph.py:357} INFO - Certificate data: False
[2025-04-07, 14:23:21 CEST] {msgraph.py:358} INFO - Authority:
login.microsoftonline.com
[2025-04-07, 14:23:21 CEST] {msgraph.py:359} INFO - Disable instance
discovery: True
[2025-04-07, 14:23:21 CEST] {msgraph.py:360} INFO - MSAL Proxies: {}
[2025-04-07, 14:23:21 CEST] {_config.py:80} DEBUG - load_ssl_context
verify=False cert=None trust_env=True http2=False
[2025-04-07, 14:23:21 CEST] {authority.py:75} DEBUG - Initializing with
Entra authority: https://login.microsoftonline.com/<tenant id>
[2025-04-07, 14:23:21 CEST] {_universal.py:509} INFO - Request URL:
'https://login.microsoftonline.com/<tenant
id>/v2.0/.well-known/openid-configuration'
Request method: 'GET'
Request headers:
'User-Agent': 'azsdk-python-identity/1.21.0 Python/3.11.4
(Linux-4.18.0-553.46.1.el8_10.x86_64-x86_64-with-glibc2.28)'
No body was attached to the request
[2025-04-07, 14:23:21 CEST] {connectionpool.py:1051} DEBUG - Starting new
HTTPS connection (1): login.microsoftonline.com:443
[2025-04-07, 14:23:21 CEST] {connectionpool.py:546} DEBUG -
https://login.microsoftonline.com:443 "GET /<tenant
id>/v2.0/.well-known/openid-configuration HTTP/11" 200 1753
[2025-04-07, 14:23:21 CEST] {_universal.py:545} INFO - Response status: 200
Response headers:
'Cache-Control': 'max-age=86400, private'
'Content-Type': 'application/json; charset=utf-8'
'Strict-Transport-Security': 'REDACTED'
'X-Content-Type-Options': 'REDACTED'
'Access-Control-Allow-Origin': 'REDACTED'
'Access-Control-Allow-Methods': 'REDACTED'
'P3P': 'REDACTED'
'x-ms-request-id': <request id>
'x-ms-ests-server': 'REDACTED'
'x-ms-srs': 'REDACTED'
'Content-Security-Policy-Report-Only': 'REDACTED'
'X-XSS-Protection': 'REDACTED'
'Set-Cookie': 'REDACTED'
'Date': 'Mon, 07 Apr 2025 12:23:20 GMT'
'Content-Length': '1753'
[2025-04-07, 14:23:21 CEST] {authority.py:96} DEBUG -
openid_config("https://login.microsoftonline.com/<tenant
id>/v2.0/.well-known/openid-configuration") = {'token_endpoint': '***',
'token_endpoint_auth_methods_supported': ['***', '***', '***'], 'jwks_uri':
'https://login.microsoftonline.com/<tenant id>/discovery/v2.0/keys',
'response_modes_supported': ['query', 'fragment', 'form_post'],
'subject_types_supported': ['pairwise'],
'id_token_signing_alg_values_supported': ['***'], 'response_types_supported':
['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported':
['openid', 'profile', 'email', 'offline_access'], 'issuer':
'https://login.microsoftonline.com/<tenant id>/v2.0',
'request_uri_parameter_supported': False, 'userinfo_endpoint':
'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': '***',
'device_authorization_endpoint': '***', 'http_logout_supported': True,
'frontchannel_logout_supported': True, 'end_session_endpoint':
'https://login.mic
rosoftonline.com/<tenant id>/oauth2/v2.0/logout', 'claims_supported': ['sub',
'iss', 'cloud_instance_name', 'cloud_instance_host_name',
'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time',
'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash',
'c_hash', 'email'], 'kerberos_endpoint':
'https://login.microsoftonline.com/<tenant id>/kerberos',
'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com',
'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host':
'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
[2025-04-07, 14:23:21 CEST] {application.py:704} DEBUG - Broker enabled? None
[2025-04-07, 14:23:21 CEST] {application.py:754} DEBUG - Region to be used:
None
[2025-04-07, 14:23:21 CEST] {telemetry.py:37} DEBUG - Generate or reuse
correlation_id: 87696f0c-49cc-44d2-91c2-7d49d58ac30f
[2025-04-07, 14:23:21 CEST] {_universal.py:506} INFO - Request URL:
'https://login.microsoftonline.com/<tenant id>/oauth2/v2.0/token'
Request method: 'POST'
Request headers:
'Accept': 'application/json'
'x-client-sku': 'REDACTED'
'x-client-ver': 'REDACTED'
'x-client-os': 'REDACTED'
'x-ms-lib-capability': 'REDACTED'
'client-request-id': 'REDACTED'
'x-client-current-telemetry': 'REDACTED'
'x-client-last-telemetry': 'REDACTED'
'User-Agent': 'azsdk-python-identity/1.21.0 Python/3.11.4
(Linux-4.18.0-553.46.1.el8_10.x86_64-x86_64-with-glibc2.28)'
A body is sent with the request
[2025-04-07, 14:23:21 CEST] {connectionpool.py:546} DEBUG -
https://login.microsoftonline.com:443 "POST /<tenant id>/oauth2/v2.0/token
HTTP/11" 200 1407
[2025-04-07, 14:23:21 CEST] {_universal.py:545} INFO - Response status: 200
Response headers:
'Cache-Control': 'no-store, no-cache'
'Pragma': 'no-cache'
'Content-Type': 'application/json; charset=utf-8'
'Expires': '-1'
'Strict-Transport-Security': 'REDACTED'
'X-Content-Type-Options': 'REDACTED'
'P3P': 'REDACTED'
'client-request-id': 'REDACTED'
'x-ms-request-id': '4454a801-84e9-4e62-93be-ad46aa750500'
'x-ms-ests-server': 'REDACTED'
'x-ms-clitelem': 'REDACTED'
'x-ms-srs': 'REDACTED'
'Content-Security-Policy-Report-Only': 'REDACTED'
'X-XSS-Protection': 'REDACTED'
'Set-Cookie': 'REDACTED'
'Date': 'Mon, 07 Apr 2025 12:23:20 GMT'
'Content-Length': '1407'
[2025-04-07, 14:23:21 CEST] {token_cache.py:204} DEBUG - event={
"client_id": <client id> ,
"data": {
"claims": "{\"access_token\": {\"xms_cc\": {\"values\":
[\"CP1\"]}}}",
"scope": [
"https://analysis.windows.net/powerbi/api/.default"
]
},
"environment": "login.microsoftonline.com",
"grant_type": "client_credentials",
"params": null,
"response": {
"access_token": "********",
"expires_in": 3599,
"ext_expires_in": 3599,
"token_type": "Bearer"
},
"scope": [
"https://analysis.windows.net/powerbi/api/.default"
],
"token_endpoint": "https://login.microsoftonline.com/<tenant
id>/oauth2/v2.0/token"
}
[2025-04-07, 14:23:21 CEST] {get_token_mixin.py:148} INFO -
ClientSecretCredential.get_token succeeded
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - connect_tcp.started
host='api.powerbi.com' port=443 local_address=None timeout=None
socket_options=None
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - connect_tcp.complete
return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f5ea79b0d50>
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - start_tls.started
ssl_context=<ssl.SSLContext object at 0x7f5ea7b12600>
server_hostname='api.powerbi.com' timeout=None
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - start_tls.complete
return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7f5eafe58cd0>
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG -
send_request_headers.started request=<Request [b'GET']>
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG -
send_request_headers.complete
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - send_request_body.started
request=<Request [b'GET']>
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG - send_request_body.complete
[2025-04-07, 14:23:21 CEST] {_trace.py:87} DEBUG -
receive_response_headers.started request=<Request [b'GET']>
[2025-04-07, 14:23:22 CEST] {_trace.py:87} DEBUG -
receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK',
[(b'Cache-Control', b'no-store, must-revalidate, no-cache'), (b'Pragma',
b'no-cache'), (b'Content-Length', b'34936'), (b'Content-Type',
b'application/json; odata.metadata=minimal'), (b'Content-Encoding', b'gzip'),
(b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'),
(b'X-Frame-Options', b'deny'), (b'X-Content-Type-Options', b'nosniff'),
(b'RequestId', <request id> ), (b'OData-Version', b'4.0'),
(b'Access-Control-Expose-Headers', b'RequestId'), (b'request-redirected',
b'true'), (b'home-cluster-uri',
b'https://wabi-west-europe-redirect.analysis.windows.net/'), (b'Date', b'Mon,
07 Apr 2025 12:23:22 GMT')])
[2025-04-07, 14:23:22 CEST] {_client.py:1773} INFO - HTTP Request: GET
https://api.powerbi.com/v1.0/myorg/admin/groups?$top=600&$expand=users
"HTTP/1.1 200 OK"
[2025-04-07, 14:23:22 CEST] {_trace.py:87} DEBUG -
receive_response_body.started request=<Request [b'GET']>
[2025-04-07, 14:23:22 CEST] {_trace.py:87} DEBUG -
receive_response_body.complete
[2025-04-07, 14:23:22 CEST] {_trace.py:87} DEBUG - response_closed.started
[2025-04-07, 14:23:22 CEST] {_trace.py:87} DEBUG - response_closed.complete
[2025-04-07, 14:23:22 CEST] {msgraph.py:417} DEBUG - response:
{'@odata.context':
'https://wabi-west-europe-redirect.analysis.windows.net/v1.0/myorg/admin/$metadata#groups',
'@odata.count': 486, 'value': [ <correct response value>
[2025-04-07, 14:23:22 CEST] {msgraph.py:209} DEBUG - response:
{'@odata.context':
'https://wabi-west-europe-redirect.analysis.windows.net/v1.0/myorg/admin/$metadata#groups',
'@odata.count': 486, 'value': [<correct response value>
[2025-04-07, 14:23:22 CEST] {msgraph.py:214} DEBUG - response type: <class
'dict'>
[2025-04-07, 14:23:22 CEST] {triggerer_job_runner.py:631} INFO - Trigger
test_api_call_dag2/manual__2025-04-07T12:23:17.462188+00:00/get_groups/-1/1 (ID
12081) fired: TriggerEvent<{'status': 'success', 'type': 'builtins.dict',
'response': '{"@odata.context":
"https://wabi-west-europe-redirect.analysis.windows.net/v1.0/myorg/admin/$metadata#groups",
"@odata.count": 486, "value": [<correct response value>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]