The GitHub Actions job "Build Images" on airflow.git has succeeded. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: 85a7ec14002f66a590a51babc13dc4d87fa9a9d1 / Jarek Potiuk <[email protected]> Patch getfqdn with more resilient version We keep on having repeated issue reports about non-matching hostname of workers. This seems to be trceable to getfqdn method of socket in Kubernetes that in some circumstances (race condition with netwrking setup when starting) can return different hostname at different times. There seems to be a related issue in Python that has not been resolved in more than 13 years (!) https://github.com/python/cpython/issues/49254 The error seems to be related to the way how canonicalname is derived by getfqdn (it uses gethostbyaddr which sometimes provides different name than canonical name (it returns the first DNS name resolved that contains "."). We are fixing it in two ways: * instead of using gethostbyaddr we are using getadddrinfo with AI_CANONNAME flag which (according to the docs): https://man7.org/linux/man-pages/man3/getaddrinfo.3.html If hints.ai_flags includes the AI_CANONNAME flag, then the ai_canonname field of the first of the addrinfo structures in the returned list is set to point to the official name of the host. * we are caching the name returned by first time retrieval per interpreter. This way at least inside the same interpreter, the name of the host should not change. Report URL: https://github.com/apache/airflow/actions/runs/2654596238 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
