==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 700 88% 0.00kB/s 0:00:00 791 100% 88.87kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 89 100% 86.91kB/s 0:00:00 89 100% 86.91kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 700 65% 683.59kB/s 0:00:00 1,067 100% 1.02MB/s 0:00:00 (xfr#3, to-chk=1/5) python-zeroconf-0.132.2-1.log 451 100% 440.43kB/s 0:00:00 451 100% 440.43kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 568 bytes received 131 bytes 466.00 bytes/sec total size is 2,139 speedup is 3.06 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root24 on remote host... ]2;🔵 Container arch-nspawn-117151 on minun.felixc.at[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root24]...done ==> Making package: python-zeroconf 0.132.2-1 (Fri Sep 13 22:42:51 2024) ==> Retrieving sources...  -> Found python-zeroconf-0.132.2.tar.gz ==> Validating source files with sha256sums... python-zeroconf-0.132.2.tar.gz ... Passed ]2;🔵 Container arch-nspawn-118157 on minun.felixc.at==> Making package: python-zeroconf 0.132.2-1 (Fri Sep 13 22:43:02 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/python-async-timeout 4.0.3-4 0.03 MiB extra/python-ifaddr 0.2.0-5 0.06 MiB extra/python-netifaces 0.11.0-5 0.03 MiB extra/python-six 1.16.0-9 0.11 MiB Total Installed Size: 0.24 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-netifaces... installing python-six... installing python-ifaddr... installing python-async-timeout... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (26) New Version Net Change extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-coverage 7.6.0-1 1.88 MiB extra/python-fastjsonschema 2.20.0-1 0.27 MiB extra/python-iniconfig 2.0.0-5 0.04 MiB extra/python-jaraco.context 5.3.0-1 0.04 MiB extra/python-jaraco.functools 4.0.2-1 0.07 MiB extra/python-jaraco.text 4.0.0-1 0.08 MiB extra/python-lark-parser 1.1.9-3 1.22 MiB extra/python-more-itertools 10.3.0-1 0.63 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-packaging 24.1-1 0.49 MiB extra/python-platformdirs 4.2.2-1 0.24 MiB extra/python-pluggy 1.5.0-1 0.20 MiB extra/python-pyproject-hooks 1.1.0-1 0.10 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-trove-classifiers 2024.7.2-1 0.12 MiB extra/python-typing_extensions 4.12.2-1 0.41 MiB extra/python-validate-pyproject 0.19-1 0.33 MiB extra/cython 3.0.11-1 16.95 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-poetry-core 1.9.0-5 1.26 MiB extra/python-pytest 1:8.3.2-1 3.90 MiB extra/python-pytest-cov 5.0.0-1 0.15 MiB extra/python-setuptools 1:69.5.1-1 4.41 MiB extra/python-wheel 0.44.0-1 0.26 MiB Total Installed Size: 33.69 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-typing_extensions... installing python-lark-parser... Optional dependencies for python-lark-parser python-atomicwrites: for atomic_cache python-regex: for regex support python-js2py: for nearley support installing python-poetry-core... installing cython... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-coverage... installing python-pytest-cov... [?25h==> Retrieving sources...  -> Found python-zeroconf-0.132.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-zeroconf-0.132.2.tar.gz with bsdtar ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... warning: src/zeroconf/_cache.py:47:23: Unknown type declaration '_DNSRecordCacheType' in annotation, ignoring warning: src/zeroconf/_cache.py:47:49: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_cache.py:47:63: Unknown type declaration '_DNSRecord' in annotation, ignoring warning: src/zeroconf/_cache.py:67:33: Unknown type declaration '_DNSRecord' in annotation, ignoring warning: src/zeroconf/_cache.py:100:36: Unknown type declaration '_DNSRecord' in annotation, ignoring warning: src/zeroconf/_cache.py:117:32: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_cache.py:126:38: Unknown type declaration '_UniqueRecordsType' in annotation, ignoring warning: src/zeroconf/_cache.py:138:41: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_cache.py:138:54: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:138:68: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:184:47: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:184:61: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:205:51: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:205:65: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_cache.py:237:93: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:76:33: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_dns.py:119:31: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:191:43: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_dns.py:197:37: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:202:30: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:206:28: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:210:29: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:219:39: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_dns.py:255:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:300:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:346:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:380:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:429:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:480:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:552:33: Unknown type declaration '_DNSRecord' in annotation, ignoring warning: src/zeroconf/_dns.py:119:31: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:119:31: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:224:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:255:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:255:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:300:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:300:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:346:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:346:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:380:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:380:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:429:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:429:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:480:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_dns.py:480:25: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_handlers/answers.py:82:50: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/answers.py:90:13: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/answers.py:90:96: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_handlers/answers.py:102:56: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/multicast_outgoing_queue.py:67:29: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_handlers/multicast_outgoing_queue.py:67:46: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/multicast_outgoing_queue.py:89:50: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:118:48: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:129:51: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:134:51: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:206:44: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:220:55: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:238:20: Unknown type declaration '_AnswerWithAdditionalsType' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:240:15: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:267:23: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:403:14: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:404:14: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_handlers/query_handler.py:405:19: Unknown type declaration '_WrappedTransport' in annotation, ignoring warning: src/zeroconf/_handlers/record_manager.py:51:33: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_history.py:41:63: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_history.py:45:53: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_history.py:67:32: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_listener.py:87:20: Unknown type declaration '_bytes' in annotation, ignoring warning: src/zeroconf/_listener.py:109:18: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_listener.py:110:13: Unknown type declaration '_float' in annotation, ignoring warning: src/zeroconf/_listener.py:111:14: Unknown type declaration '_bytes' in annotation, ignoring warning: src/zeroconf/_listener.py:189:14: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_listener.py:190:14: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_listener.py:191:19: Unknown type declaration '_WrappedTransport' in annotation, ignoring warning: src/zeroconf/_listener.py:214:48: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_listener.py:222:14: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_listener.py:223:14: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_listener.py:224:19: Unknown type declaration '_WrappedTransport' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:262:35: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:305:22: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:305:35: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:305:49: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:305:60: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:305:74: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:362:32: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/incoming.py:394:44: Unknown type declaration '_int' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:152:67: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:200:33: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:205:32: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:209:44: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:213:36: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:213:49: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:217:33: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:232:34: Unknown type declaration 'bytes_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:239:28: Unknown type declaration 'str_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:257:31: Unknown type declaration 'str_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:300:41: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:306:40: Unknown type declaration 'DNSQuestion_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:323:33: Unknown type declaration 'DNSRecord_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:323:50: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:327:36: Unknown type declaration 'DNSRecord_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:327:53: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:349:63: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:349:81: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:368:61: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:376:56: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:384:79: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:393:32: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:393:53: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:393:77: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_protocol/outgoing.py:393:102: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/__init__.py:69:64: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/__init__.py:73:66: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/browser.py:189:39: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:212:16: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:212:35: Unknown type declaration 'bool_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:212:71: Unknown type declaration '_QuestionWithKnownAnswers' in annotation, ignoring warning: src/zeroconf/_services/browser.py:250:16: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:378:55: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:378:84: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:417:53: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:417:84: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:513:47: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:628:22: Unknown type declaration 'ServiceStateChange' in annotation, ignoring warning: src/zeroconf/_services/browser.py:629:15: Unknown type declaration 'str_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:630:14: Unknown type declaration 'str_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:645:56: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/browser.py:147:28: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/browser.py:153:28: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/browser.py:165:28: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/browser.py:171:28: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/info.py:304:44: Unknown type declaration 'IPVersion' in annotation, ignoring warning: src/zeroconf/_services/info.py:323:23: Unknown type declaration 'IPVersion' in annotation, ignoring warning: src/zeroconf/_services/info.py:336:29: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/info.py:442:35: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:442:49: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/info.py:455:66: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:464:66: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:473:56: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:485:81: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:573:17: Unknown type declaration 'IPVersion' in annotation, ignoring warning: src/zeroconf/_services/info.py:704:77: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/info.py:731:52: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:873:13: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:874:14: Unknown type declaration 'str_' in annotation, ignoring warning: src/zeroconf/_services/info.py:875:15: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/info.py:876:16: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_services/info.py:897:35: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_services/info.py:897:58: Unknown type declaration 'DNSQuestionType' in annotation, ignoring warning: src/zeroconf/_services/info.py:107:42: Strings should no longer be used for type declarations. Use 'cython.int' etc. directly. warning: src/zeroconf/_services/registry.py:82:65: Unknown type declaration '_str' in annotation, ignoring warning: src/zeroconf/_updates.py:52:56: Unknown type declaration 'float_' in annotation, ignoring warning: src/zeroconf/_utils/ipaddress.py:112:43: Unknown type declaration 'bytes_' in annotation, ignoring warning: src/zeroconf/_utils/ipaddress.py:112:58: Unknown type declaration 'int_' in annotation, ignoring warning: src/zeroconf/_utils/time.py:40:30: Unknown type declaration '_float' in annotation, ignoring Compiling src/zeroconf/_dns.py because it changed. Compiling src/zeroconf/_cache.py because it changed. Compiling src/zeroconf/_history.py because it changed. Compiling src/zeroconf/_record_update.py because it changed. Compiling src/zeroconf/_listener.py because it changed. Compiling src/zeroconf/_protocol/incoming.py because it changed. Compiling src/zeroconf/_protocol/outgoing.py because it changed. Compiling src/zeroconf/_handlers/answers.py because it changed. Compiling src/zeroconf/_handlers/record_manager.py because it changed. Compiling src/zeroconf/_handlers/multicast_outgoing_queue.py because it changed. Compiling src/zeroconf/_handlers/query_handler.py because it changed. Compiling src/zeroconf/_services/__init__.py because it changed. Compiling src/zeroconf/_services/browser.py because it changed. Compiling src/zeroconf/_services/info.py because it changed. Compiling src/zeroconf/_services/registry.py because it changed. Compiling src/zeroconf/_updates.py because it changed. Compiling src/zeroconf/_utils/ipaddress.py because it changed. Compiling src/zeroconf/_utils/time.py because it changed. [ 1/18] Cythonizing src/zeroconf/_cache.py [ 2/18] Cythonizing src/zeroconf/_dns.py [ 3/18] Cythonizing src/zeroconf/_handlers/answers.py [ 4/18] Cythonizing src/zeroconf/_handlers/multicast_outgoing_queue.py [ 5/18] Cythonizing src/zeroconf/_handlers/query_handler.py [ 6/18] Cythonizing src/zeroconf/_handlers/record_manager.py [ 7/18] Cythonizing src/zeroconf/_history.py [ 8/18] Cythonizing src/zeroconf/_listener.py [ 9/18] Cythonizing src/zeroconf/_protocol/incoming.py [10/18] Cythonizing src/zeroconf/_protocol/outgoing.py [11/18] Cythonizing src/zeroconf/_record_update.py [12/18] Cythonizing src/zeroconf/_services/__init__.py [13/18] Cythonizing src/zeroconf/_services/browser.py [14/18] Cythonizing src/zeroconf/_services/info.py [15/18] Cythonizing src/zeroconf/_services/registry.py [16/18] Cythonizing src/zeroconf/_updates.py [17/18] Cythonizing src/zeroconf/_utils/ipaddress.py [18/18] Cythonizing src/zeroconf/_utils/time.py running build running build_py creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312 creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/__init__.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_cache.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_core.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_dns.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_engine.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_exceptions.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_history.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_listener.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_logger.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_record_update.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_transport.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_updates.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/asyncio.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/const.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/__init__.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/answers.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/multicast_outgoing_queue.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/query_handler.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/record_manager.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol copying src/zeroconf/_protocol/__init__.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol copying src/zeroconf/_protocol/incoming.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol copying src/zeroconf/_protocol/outgoing.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/__init__.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/browser.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/info.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/registry.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/types.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/__init__.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/asyncio.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/ipaddress.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/name.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/net.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/time.py -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/py.typed -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_cache.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_dns.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_history.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_listener.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_record_update.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_updates.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf copying src/zeroconf/_handlers/answers.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/multicast_outgoing_queue.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/query_handler.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_handlers/record_manager.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers copying src/zeroconf/_protocol/incoming.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol copying src/zeroconf/_protocol/outgoing.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol copying src/zeroconf/_services/__init__.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/browser.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/info.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_services/registry.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services copying src/zeroconf/_utils/ipaddress.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils copying src/zeroconf/_utils/time.pxd -> /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils running build_ext building 'zeroconf._dns' extension creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312 creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_dns.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_dns.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_dns.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_dns.cpython-312-riscv64-linux-gnu.so building 'zeroconf._cache' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_cache.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_cache.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_cache.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_cache.cpython-312-riscv64-linux-gnu.so building 'zeroconf._history' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_history.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_history.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_history.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_history.cpython-312-riscv64-linux-gnu.so building 'zeroconf._record_update' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_record_update.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_record_update.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_record_update.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_record_update.cpython-312-riscv64-linux-gnu.so building 'zeroconf._listener' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_listener.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_listener.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_listener.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_listener.cpython-312-riscv64-linux-gnu.so building 'zeroconf._protocol.incoming' extension creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_protocol gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_protocol/incoming.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_protocol/incoming.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_protocol/incoming.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol/incoming.cpython-312-riscv64-linux-gnu.so building 'zeroconf._protocol.outgoing' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_protocol/outgoing.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_protocol/outgoing.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_protocol/outgoing.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_protocol/outgoing.cpython-312-riscv64-linux-gnu.so building 'zeroconf._handlers.answers' extension creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_handlers/answers.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/answers.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/answers.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers/answers.cpython-312-riscv64-linux-gnu.so building 'zeroconf._handlers.record_manager' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_handlers/record_manager.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/record_manager.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/record_manager.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers/record_manager.cpython-312-riscv64-linux-gnu.so building 'zeroconf._handlers.multicast_outgoing_queue' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_handlers/multicast_outgoing_queue.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/multicast_outgoing_queue.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/multicast_outgoing_queue.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers/multicast_outgoing_queue.cpython-312-riscv64-linux-gnu.so building 'zeroconf._handlers.query_handler' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_handlers/query_handler.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/query_handler.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_handlers/query_handler.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_handlers/query_handler.cpython-312-riscv64-linux-gnu.so building 'zeroconf._services.__init__' extension creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_services/__init__.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/__init__.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/__init__.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services/__init__.cpython-312-riscv64-linux-gnu.so building 'zeroconf._services.browser' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_services/browser.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/browser.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/browser.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services/browser.cpython-312-riscv64-linux-gnu.so building 'zeroconf._services.info' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_services/info.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/info.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/info.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services/info.cpython-312-riscv64-linux-gnu.so building 'zeroconf._services.registry' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_services/registry.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/registry.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_services/registry.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_services/registry.cpython-312-riscv64-linux-gnu.so building 'zeroconf._updates' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_updates.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_updates.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_updates.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_updates.cpython-312-riscv64-linux-gnu.so building 'zeroconf._utils.ipaddress' extension creating /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_utils gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_utils/ipaddress.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_utils/ipaddress.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_utils/ipaddress.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils/ipaddress.cpython-312-riscv64-linux-gnu.so building 'zeroconf._utils.time' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto -fPIC -I/usr/include/python3.12 -c src/zeroconf/_utils/time.c -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_utils/time.o gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/python-zeroconf/src=/usr/src/debug/python-zeroconf -flto=auto /build/python-zeroconf/src/python-zeroconf-0.132.2/build/temp.linux-riscv64-cpython-312/src/zeroconf/_utils/time.o -L/usr/lib -o /build/python-zeroconf/src/python-zeroconf-0.132.2/build/lib.linux-riscv64-cpython-312/zeroconf/_utils/time.cpython-312-riscv64-linux-gnu.so Successfully built zeroconf-0.132.2-cp312-cp312-manylinux_2_40_riscv64.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.12.6, pytest-8.3.2, pluggy-1.5.0 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-zeroconf/src/python-zeroconf-0.132.2 configfile: pyproject.toml plugins: cov-5.0.0 collecting ... collected 297 items / 1 deselected / 296 selected tests/services/test_browser.py::test_service_browser_cancel_multiple_times FAILED [ 0%] tests/services/test_browser.py::test_service_browser_cancel_context_manager FAILED [ 0%] tests/services/test_browser.py::test_service_browser_cancel_multiple_times_after_close FAILED [ 1%] tests/services/test_browser.py::test_service_browser_started_after_zeroconf_closed FAILED [ 1%] tests/services/test_browser.py::test_multiple_instances_running_close FAILED [ 1%] tests/services/test_browser.py::TestServiceBrowser::test_update_record FAILED [ 2%] tests/services/test_browser.py::TestServiceBrowserMultipleTypes::test_update_record FAILED [ 2%] tests/services/test_browser.py::test_first_query_delay FAILED [ 2%] tests/services/test_browser.py::test_asking_default_is_asking_qm_questions_after_the_first_qu SKIPPED [ 3%] tests/services/test_browser.py::test_ttl_refresh_cancelled_rescue_query SKIPPED [ 3%] tests/services/test_browser.py::test_asking_qm_questions SKIPPED (as...) [ 3%] tests/services/test_browser.py::test_asking_qu_questions SKIPPED (as...) [ 4%] tests/services/test_browser.py::test_legacy_record_update_listener FAILED [ 4%] tests/services/test_browser.py::test_service_browser_is_aware_of_port_changes FAILED [ 4%] tests/services/test_browser.py::test_service_browser_listeners_update_service FAILED [ 5%] tests/services/test_browser.py::test_service_browser_listeners_no_update_service FAILED [ 5%] tests/services/test_browser.py::test_service_browser_uses_non_strict_names FAILED [ 5%] tests/services/test_browser.py::test_group_ptr_queries_with_known_answers PASSED [ 6%] tests/services/test_browser.py::test_generate_service_query_suppress_duplicate_questions SKIPPED [ 6%] tests/services/test_browser.py::test_query_scheduler SKIPPED (async ...) [ 6%] tests/services/test_browser.py::test_query_scheduler_rescue_records SKIPPED [ 7%] tests/services/test_browser.py::test_service_browser_matching FAILED [ 7%] tests/services/test_browser.py::test_service_browser_expire_callbacks FAILED [ 7%] tests/services/test_browser.py::test_scheduled_ptr_query_dunder_methods PASSED [ 8%] tests/services/test_browser.py::test_close_zeroconf_without_browser_before_start_up_queries SKIPPED [ 8%] tests/services/test_browser.py::test_close_zeroconf_without_browser_after_start_up_queries SKIPPED [ 8%] tests/services/test_info.py::TestServiceInfo::test_get_info_partial FAILED [ 9%] tests/services/test_info.py::TestServiceInfo::test_get_info_single FAILED [ 9%] tests/services/test_info.py::TestServiceInfo::test_get_info_suppressed_by_question_history FAILED [ 9%] tests/services/test_info.py::TestServiceInfo::test_get_name PASSED [ 10%] tests/services/test_info.py::TestServiceInfo::test_service_info_duplicate_properties_txt_records FAILED [ 10%] tests/services/test_info.py::TestServiceInfo::test_service_info_rejects_expired_records FAILED [ 10%] tests/services/test_info.py::TestServiceInfo::test_service_info_rejects_non_matching_updates FAILED [ 11%] tests/services/test_info.py::test_multiple_addresses PASSED [ 11%] tests/services/test_info.py::test_scoped_addresses_from_cache FAILED [ 11%] tests/services/test_info.py::test_multiple_a_addresses_newest_address_first SKIPPED [ 12%] tests/services/test_info.py::test_invalid_a_addresses SKIPPED (async...) [ 12%] tests/services/test_info.py::test_filter_address_by_type_from_service_info PASSED [ 12%] tests/services/test_info.py::test_changing_name_updates_serviceinfo_key PASSED [ 13%] tests/services/test_info.py::test_serviceinfo_address_updates PASSED [ 13%] tests/services/test_info.py::test_serviceinfo_accepts_bytes_or_string_dict PASSED [ 13%] tests/services/test_info.py::test_asking_qu_questions FAILED [ 14%] tests/services/test_info.py::test_asking_qm_questions FAILED [ 14%] tests/services/test_info.py::test_request_timeout FAILED [ 14%] tests/services/test_info.py::test_we_try_four_times_with_random_delay SKIPPED [ 15%] tests/services/test_info.py::test_release_wait_when_new_recorded_added SKIPPED [ 15%] tests/services/test_info.py::test_port_changes_are_seen SKIPPED (asy...) [ 15%] tests/services/test_info.py::test_port_changes_are_seen_with_directed_request SKIPPED [ 16%] tests/services/test_info.py::test_ipv4_changes_are_seen SKIPPED (asy...) [ 16%] tests/services/test_info.py::test_ipv6_changes_are_seen SKIPPED (asy...) [ 16%] tests/services/test_info.py::test_bad_ip_addresses_ignored_in_cache SKIPPED [ 17%] tests/services/test_info.py::test_service_name_change_as_seen_has_ip_in_cache SKIPPED [ 17%] tests/services/test_info.py::test_service_name_change_as_seen_ip_not_in_cache SKIPPED [ 17%] tests/services/test_info.py::test_release_wait_when_new_recorded_added_concurrency SKIPPED [ 18%] tests/services/test_info.py::test_service_info_nsec_records SKIPPED [ 18%] tests/services/test_registry.py::TestServiceRegistry::test_lookups PASSED [ 18%] tests/services/test_registry.py::TestServiceRegistry::test_lookups_upper_case_by_lower_case PASSED [ 19%] tests/services/test_registry.py::TestServiceRegistry::test_only_register_once PASSED [ 19%] tests/services/test_registry.py::TestServiceRegistry::test_register_same_server PASSED [ 19%] tests/services/test_registry.py::TestServiceRegistry::test_unregister_multiple_times PASSED [ 20%] tests/services/test_types.py::test_integration_with_listener FAILED [ 20%] tests/services/test_types.py::test_integration_with_listener_v6_records FAILED [ 20%] tests/services/test_types.py::test_integration_with_subtype_and_listener FAILED [ 21%] tests/test_asyncio.py::test_async_basic_usage SKIPPED (async def fun...) [ 21%] tests/test_asyncio.py::test_async_close_twice SKIPPED (async def fun...) [ 21%] tests/test_asyncio.py::test_async_with_sync_passed_in SKIPPED (async...) [ 22%] tests/test_asyncio.py::test_async_with_sync_passed_in_closed_in_async SKIPPED [ 22%] tests/test_asyncio.py::test_sync_within_event_loop_executor SKIPPED [ 22%] tests/test_asyncio.py::test_async_service_registration SKIPPED (asyn...) [ 23%] tests/test_asyncio.py::test_async_service_registration_with_server_missing SKIPPED [ 23%] tests/test_asyncio.py::test_async_service_registration_same_server_different_ports SKIPPED [ 23%] tests/test_asyncio.py::test_async_service_registration_same_server_same_ports SKIPPED [ 24%] tests/test_asyncio.py::test_async_service_registration_name_conflict SKIPPED [ 24%] tests/test_asyncio.py::test_async_service_registration_name_does_not_match_type SKIPPED [ 25%] tests/test_asyncio.py::test_async_service_registration_name_strict_check SKIPPED [ 25%] tests/test_asyncio.py::test_async_tasks SKIPPED (async def function ...) [ 25%] tests/test_asyncio.py::test_async_wait_unblocks_on_update SKIPPED (a...) [ 26%] tests/test_asyncio.py::test_service_info_async_request SKIPPED (asyn...) [ 26%] tests/test_asyncio.py::test_async_service_browser SKIPPED (async def...) [ 26%] tests/test_asyncio.py::test_async_context_manager SKIPPED (async def...) [ 27%] tests/test_asyncio.py::test_service_browser_cancel_async_context_manager SKIPPED [ 27%] tests/test_asyncio.py::test_async_unregister_all_services SKIPPED (a...) [ 27%] tests/test_asyncio.py::test_async_zeroconf_service_types SKIPPED (as...) [ 28%] tests/test_asyncio.py::test_guard_against_running_serviceinfo_request_event_loop SKIPPED [ 28%] tests/test_asyncio.py::test_service_browser_instantiation_generates_add_events_from_cache SKIPPED [ 28%] tests/test_asyncio.py::test_integration SKIPPED (async def function ...) [ 29%] tests/test_asyncio.py::test_info_asking_default_is_asking_qm_questions_after_the_first_qu SKIPPED [ 29%] tests/test_asyncio.py::test_service_browser_ignores_unrelated_updates SKIPPED [ 29%] tests/test_asyncio.py::test_async_request_timeout SKIPPED (async def...) [ 30%] tests/test_asyncio.py::test_async_request_non_running_instance SKIPPED [ 30%] tests/test_asyncio.py::test_legacy_unicast_response SKIPPED (async d...) [ 30%] tests/test_asyncio.py::test_update_with_uppercase_names SKIPPED (asy...) [ 31%] tests/test_cache.py::TestDNSCache::test_adding_same_record_to_cache_different_ttls_with_get PASSED [ 31%] tests/test_cache.py::TestDNSCache::test_adding_same_record_to_cache_different_ttls_with_get_all PASSED [ 31%] tests/test_cache.py::TestDNSCache::test_cache_empty_does_not_leak_memory_by_leaving_empty_list PASSED [ 32%] tests/test_cache.py::TestDNSCache::test_cache_empty_multiple_calls PASSED [ 32%] tests/test_cache.py::TestDNSCache::test_order PASSED [ 32%] tests/test_cache.py::TestDNSAsyncCacheAPI::test_async_all_by_details PASSED [ 33%] tests/test_cache.py::TestDNSAsyncCacheAPI::test_async_entries_with_name PASSED [ 33%] tests/test_cache.py::TestDNSAsyncCacheAPI::test_async_entries_with_server PASSED [ 33%] tests/test_cache.py::TestDNSAsyncCacheAPI::test_async_get_unique PASSED [ 34%] tests/test_cache.py::TestDNSCacheAPI::test_current_entry_with_name_and_alias PASSED [ 34%] tests/test_cache.py::TestDNSCacheAPI::test_entries_with_name PASSED [ 34%] tests/test_cache.py::TestDNSCacheAPI::test_entries_with_server PASSED [ 35%] tests/test_cache.py::TestDNSCacheAPI::test_get PASSED [ 35%] tests/test_cache.py::TestDNSCacheAPI::test_get_all_by_details PASSED [ 35%] tests/test_cache.py::TestDNSCacheAPI::test_get_by_details PASSED [ 36%] tests/test_cache.py::TestDNSCacheAPI::test_name PASSED [ 36%] tests/test_core.py::Framework::test_async_updates_from_response FAILED [ 36%] tests/test_core.py::Framework::test_close_multiple_times PASSED [ 37%] tests/test_core.py::Framework::test_launch_and_close FAILED [ 37%] tests/test_core.py::Framework::test_launch_and_close_apple_p2p_not_mac PASSED [ 37%] tests/test_core.py::Framework::test_launch_and_close_apple_p2p_on_mac SKIPPED [ 38%] tests/test_core.py::Framework::test_launch_and_close_context_manager FAILED [ 38%] tests/test_core.py::Framework::test_launch_and_close_unicast PASSED [ 38%] tests/test_core.py::Framework::test_launch_and_close_v4_v6 FAILED [ 39%] tests/test_core.py::Framework::test_launch_and_close_v6_only FAILED [ 39%] tests/test_core.py::test_generate_service_query_set_qu_bit FAILED [ 39%] tests/test_core.py::test_invalid_packets_ignored_and_does_not_cause_loop_exception FAILED [ 40%] tests/test_core.py::test_goodbye_all_services FAILED [ 40%] tests/test_core.py::test_register_service_with_custom_ttl FAILED [ 40%] tests/test_core.py::test_logging_packets FAILED [ 41%] tests/test_core.py::test_get_service_info_failure_path FAILED [ 41%] tests/test_core.py::test_sending_unicast FAILED [ 41%] tests/test_core.py::test_tc_bit_defers FAILED [ 42%] tests/test_core.py::test_tc_bit_defers_last_response_missing FAILED [ 42%] tests/test_core.py::test_open_close_twice_from_async SKIPPED (async ...) [ 42%] tests/test_core.py::test_multiple_sync_instances_stared_from_async_close SKIPPED [ 43%] tests/test_core.py::test_shutdown_while_register_in_process FAILED [ 43%] tests/test_core.py::test_event_loop_blocked SKIPPED (async def funct...) [ 43%] tests/test_dns.py::TestDunder::test_dns_address_repr PASSED [ 44%] tests/test_dns.py::TestDunder::test_dns_hinfo_repr_eq PASSED [ 44%] tests/test_dns.py::TestDunder::test_dns_outgoing_repr PASSED [ 44%] tests/test_dns.py::TestDunder::test_dns_pointer_repr PASSED [ 45%] tests/test_dns.py::TestDunder::test_dns_question_repr PASSED [ 45%] tests/test_dns.py::TestDunder::test_dns_record_abc PASSED [ 45%] tests/test_dns.py::TestDunder::test_dns_record_is_expired PASSED [ 46%] tests/test_dns.py::TestDunder::test_dns_record_is_recent PASSED [ 46%] tests/test_dns.py::TestDunder::test_dns_record_is_stale PASSED [ 46%] tests/test_dns.py::TestDunder::test_dns_record_reset_ttl PASSED [ 47%] tests/test_dns.py::TestDunder::test_dns_service_repr PASSED [ 47%] tests/test_dns.py::TestDunder::test_dns_text_repr PASSED [ 47%] tests/test_dns.py::TestDunder::test_service_info_dunder PASSED [ 48%] tests/test_dns.py::TestDunder::test_service_info_text_properties_not_given PASSED [ 48%] tests/test_dns.py::test_dns_question_hashablity PASSED [ 48%] tests/test_dns.py::test_dns_record_hashablity_does_not_consider_ttl PASSED [ 49%] tests/test_dns.py::test_dns_record_hashablity_does_not_consider_unique PASSED [ 49%] tests/test_dns.py::test_dns_address_record_hashablity PASSED [ 50%] tests/test_dns.py::test_dns_hinfo_record_hashablity PASSED [ 50%] tests/test_dns.py::test_dns_pointer_record_hashablity PASSED [ 50%] tests/test_dns.py::test_dns_pointer_comparison_is_case_insensitive PASSED [ 51%] tests/test_dns.py::test_dns_text_record_hashablity PASSED [ 51%] tests/test_dns.py::test_dns_service_record_hashablity PASSED [ 51%] tests/test_dns.py::test_dns_service_server_key PASSED [ 52%] tests/test_dns.py::test_dns_service_server_comparison_is_case_insensitive PASSED [ 52%] tests/test_dns.py::test_dns_nsec_record_hashablity PASSED [ 52%] tests/test_dns.py::test_rrset_does_not_consider_ttl PASSED [ 53%] tests/test_engine.py::test_reaper SKIPPED (async def function and no...) [ 53%] tests/test_engine.py::test_reaper_aborts_when_done SKIPPED (async de...) [ 53%] tests/test_exceptions.py::Exceptions::test_bad_local_names_for_get_service_info ERROR [ 54%] tests/test_exceptions.py::Exceptions::test_bad_service_info_name ERROR [ 54%] tests/test_exceptions.py::Exceptions::test_bad_service_names ERROR [ 54%] tests/test_exceptions.py::Exceptions::test_bad_sub_types ERROR [ 55%] tests/test_exceptions.py::Exceptions::test_bad_types ERROR [ 55%] tests/test_exceptions.py::Exceptions::test_good_instance_names ERROR [ 55%] tests/test_exceptions.py::Exceptions::test_good_instance_names_without_protocol ERROR [ 56%] tests/test_exceptions.py::Exceptions::test_good_service_names ERROR [ 56%] tests/test_exceptions.py::Exceptions::test_invalid_addresses ERROR [ 56%] tests/test_handlers.py::TestRegistrar::test_name_conflicts FAILED [ 57%] tests/test_handlers.py::TestRegistrar::test_register_and_lookup_type_by_uppercase_name FAILED [ 57%] tests/test_handlers.py::TestRegistrar::test_ttl FAILED [ 57%] tests/test_handlers.py::test_ptr_optimization FAILED [ 58%] tests/test_handlers.py::test_any_query_for_ptr FAILED [ 58%] tests/test_handlers.py::test_aaaa_query FAILED [ 58%] tests/test_handlers.py::test_aaaa_query_upper_case FAILED [ 59%] tests/test_handlers.py::test_a_and_aaaa_record_fate_sharing FAILED [ 59%] tests/test_handlers.py::test_unicast_response FAILED [ 59%] tests/test_handlers.py::test_probe_answered_immediately SKIPPED (asy...) [ 60%] tests/test_handlers.py::test_probe_answered_immediately_with_uppercase_name SKIPPED [ 60%] tests/test_handlers.py::test_qu_response FAILED [ 60%] tests/test_handlers.py::test_known_answer_supression FAILED [ 61%] tests/test_handlers.py::test_multi_packet_known_answer_supression FAILED [ 61%] tests/test_handlers.py::test_known_answer_supression_service_type_enumeration_query FAILED [ 61%] tests/test_handlers.py::test_upper_case_enumeration_query FAILED [ 62%] tests/test_handlers.py::test_enumeration_query_with_no_registered_services FAILED [ 62%] tests/test_handlers.py::test_qu_response_only_sends_additionals_if_sends_answer SKIPPED [ 62%] tests/test_handlers.py::test_cache_flush_bit SKIPPED (async def func...) [ 63%] tests/test_handlers.py::test_record_update_manager_add_listener_callsback_existing_records SKIPPED [ 63%] tests/test_handlers.py::test_questions_query_handler_populates_the_question_history_from_qm_questions SKIPPED [ 63%] tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history SKIPPED [ 64%] tests/test_handlers.py::test_guard_against_low_ptr_ttl SKIPPED (asyn...) [ 64%] tests/test_handlers.py::test_duplicate_goodbye_answers_in_packet SKIPPED [ 64%] tests/test_handlers.py::test_response_aggregation_timings SKIPPED (a...) [ 65%] tests/test_handlers.py::test_response_aggregation_timings_multiple SKIPPED [ 65%] tests/test_handlers.py::test_response_aggregation_random_delay SKIPPED [ 65%] tests/test_handlers.py::test_future_answers_are_removed_on_send SKIPPED [ 66%] tests/test_handlers.py::test_add_listener_warns_when_not_using_record_update_listener SKIPPED [ 66%] tests/test_handlers.py::test_async_updates_iteration_safe SKIPPED (a...) [ 66%] tests/test_handlers.py::test_async_updates_complete_iteration_safe SKIPPED [ 67%] tests/test_history.py::test_question_suppression PASSED [ 67%] tests/test_history.py::test_question_expire PASSED [ 67%] tests/test_init.py::Names::test_exceedingly_long_name PASSED [ 68%] tests/test_init.py::Names::test_exceedingly_long_name_part PASSED [ 68%] tests/test_init.py::Names::test_extra_exceedingly_long_name PASSED [ 68%] tests/test_init.py::Names::test_large_packet_exception_log_handling FAILED [ 69%] tests/test_init.py::Names::test_long_name PASSED [ 69%] tests/test_init.py::Names::test_same_name PASSED [ 69%] tests/test_init.py::Names::test_verify_name_change_with_lots_of_names FAILED [ 70%] tests/test_listener.py::test_guard_against_oversized_packets FAILED [ 70%] tests/test_listener.py::test_guard_against_duplicate_packets FAILED [ 70%] tests/test_logger.py::test_loading_logger PASSED [ 71%] tests/test_logger.py::test_log_warning_once PASSED [ 71%] tests/test_logger.py::test_log_exception_warning PASSED [ 71%] tests/test_logger.py::test_llog_exception_debug PASSED [ 72%] tests/test_logger.py::test_log_exception_once PASSED [ 72%] tests/test_protocol.py::PacketGeneration::test_adding_empty_answer PASSED [ 72%] tests/test_protocol.py::PacketGeneration::test_adding_expired_answer PASSED [ 73%] tests/test_protocol.py::PacketGeneration::test_dns_hinfo PASSED [ 73%] tests/test_protocol.py::PacketGeneration::test_many_questions PASSED [ 73%] tests/test_protocol.py::PacketGeneration::test_many_questions_with_many_known_answers PASSED [ 74%] tests/test_protocol.py::PacketGeneration::test_massive_probe_packet_split PASSED [ 74%] tests/test_protocol.py::PacketGeneration::test_match_question PASSED [ 75%] tests/test_protocol.py::PacketGeneration::test_only_one_answer_can_by_large PASSED [ 75%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_flags PASSED [ 75%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_nsec PASSED [ 76%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_question PASSED [ 76%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_response PASSED [ 76%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_simple PASSED [ 77%] tests/test_protocol.py::PacketGeneration::test_parse_own_packet_simple_unicast PASSED [ 77%] tests/test_protocol.py::PacketGeneration::test_questions_do_not_end_up_every_packet PASSED [ 77%] tests/test_protocol.py::PacketGeneration::test_suppress_answer PASSED [ 78%] tests/test_protocol.py::PacketForm::test_numbers PASSED [ 78%] tests/test_protocol.py::PacketForm::test_numbers_questions PASSED [ 78%] tests/test_protocol.py::PacketForm::test_query_header_bits PASSED [ 79%] tests/test_protocol.py::PacketForm::test_response_header_bits PASSED [ 79%] tests/test_protocol.py::PacketForm::test_setting_id PASSED [ 79%] tests/test_protocol.py::PacketForm::test_transaction_id PASSED [ 80%] tests/test_protocol.py::TestDnsIncoming::test_incoming_circular_reference PASSED [ 80%] tests/test_protocol.py::TestDnsIncoming::test_incoming_exception_handling PASSED [ 80%] tests/test_protocol.py::TestDnsIncoming::test_incoming_ipv6 PASSED [ 81%] tests/test_protocol.py::TestDnsIncoming::test_incoming_unknown_type PASSED [ 81%] tests/test_protocol.py::test_dns_compression_rollback_for_corruption PASSED [ 81%] tests/test_protocol.py::test_tc_bit_in_query_packet PASSED [ 82%] tests/test_protocol.py::test_tc_bit_not_set_in_answer_packet PASSED [ 82%] tests/test_protocol.py::test_qm_packet_parser PASSED [ 82%] tests/test_protocol.py::test_qu_packet_parser PASSED [ 83%] tests/test_protocol.py::test_parse_packet_with_nsec_record PASSED [ 83%] tests/test_protocol.py::test_records_same_packet_share_fate PASSED [ 83%] tests/test_protocol.py::test_dns_compression_invalid_skips_bad_name_compress_in_question PASSED [ 84%] tests/test_protocol.py::test_dns_compression_all_invalid PASSED [ 84%] tests/test_protocol.py::test_invalid_next_name_ignored PASSED [ 84%] tests/test_protocol.py::test_dns_compression_invalid_skips_record PASSED [ 85%] tests/test_protocol.py::test_dns_compression_points_forward PASSED [ 85%] tests/test_protocol.py::test_dns_compression_points_to_itself PASSED [ 85%] tests/test_protocol.py::test_dns_compression_points_beyond_packet PASSED [ 86%] tests/test_protocol.py::test_dns_compression_generic_failure PASSED [ 86%] tests/test_protocol.py::test_label_length_attack PASSED [ 86%] tests/test_protocol.py::test_label_compression_attack PASSED [ 87%] tests/test_protocol.py::test_dns_compression_loop_attack PASSED [ 87%] tests/test_protocol.py::test_txt_after_invalid_nsec_name_still_usable PASSED [ 87%] tests/test_protocol.py::test_parse_matter_packet PASSED [ 88%] tests/test_services.py::ListenerTest::test_integration_with_listener_class FAILED [ 88%] tests/test_services.py::test_servicelisteners_raise_not_implemented FAILED [ 88%] tests/test_services.py::test_signal_registration_interface PASSED [ 89%] tests/test_updates.py::test_legacy_record_update_listener FAILED [ 89%] tests/test_updates.py::test_record_update_compat PASSED [ 89%] tests/utils/test_asyncio.py::test_async_get_all_tasks SKIPPED (async...) [ 90%] tests/utils/test_asyncio.py::test_get_running_loop_from_async SKIPPED [ 90%] tests/utils/test_asyncio.py::test_get_running_loop_no_loop PASSED [ 90%] tests/utils/test_asyncio.py::test_wait_event_or_timeout_times_out SKIPPED [ 91%] tests/utils/test_asyncio.py::test_shutdown_loop PASSED [ 91%] tests/utils/test_asyncio.py::test_cumulative_timeouts_less_than_close_plus_buffer PASSED [ 91%] tests/utils/test_asyncio.py::test_run_coro_with_timeout SKIPPED (asy...) [ 92%] tests/utils/test_ipaddress.py::test_cached_ip_addresses_wrapper PASSED [ 92%] tests/utils/test_ipaddress.py::test_get_ip_address_object_from_record PASSED [ 92%] tests/utils/test_name.py::test_service_type_name_overlong_type PASSED [ 93%] tests/utils/test_name.py::test_service_type_name_overlong_full_name PASSED [ 93%] tests/utils/test_name.py::test_service_type_name_non_strict_compliant_names[CustomerInformationService-F4D4885E9EEB-_ibisip_http._tcp.local.] PASSED [ 93%] tests/utils/test_name.py::test_service_type_name_non_strict_compliant_names[DeviceManagementService_F4D4885E9EEB-_ibisip_http._tcp.local.] PASSED [ 94%] tests/utils/test_name.py::test_possible_types PASSED [ 94%] tests/utils/test_net.py::test_ip6_to_address_and_index PASSED [ 94%] tests/utils/test_net.py::test_interface_index_to_ip6_address PASSED [ 95%] tests/utils/test_net.py::test_ip6_addresses_to_indexes PASSED [ 95%] tests/utils/test_net.py::test_normalize_interface_choice_errors PASSED [ 95%] tests/utils/test_net.py::test_add_multicast_member_socket_errors[98-False] PASSED [ 96%] tests/utils/test_net.py::test_add_multicast_member_socket_errors[99-False] PASSED [ 96%] tests/utils/test_net.py::test_add_multicast_member_socket_errors[22-False] PASSED [ 96%] tests/utils/test_net.py::test_add_multicast_member_socket_errors[0-True] PASSED [ 97%] tests/utils/test_net.py::test_autodetect_ip_version PASSED [ 97%] tests/utils/test_net.py::test_disable_ipv6_only_or_raise PASSED [ 97%] tests/utils/test_net.py::test_set_so_reuseport_if_available_is_present PASSED [ 98%] tests/utils/test_net.py::test_set_so_reuseport_if_available_not_present SKIPPED [ 98%] tests/utils/test_net.py::test_set_mdns_port_socket_options_for_ip_version PASSED [ 98%] tests/utils/test_net.py::test_add_multicast_member PASSED [ 99%] tests/utils/test_net.py::test_bind_raises_skips_address PASSED [ 99%] tests/utils/test_net.py::test_new_respond_socket_new_socket_returns_none PASSED [100%] ==================================== ERRORS ==================================== ____ ERROR at setup of Exceptions.test_bad_local_names_for_get_service_info ____ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log setup ------------------------------ DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ___________ ERROR at setup of Exceptions.test_bad_service_info_name ____________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError _____________ ERROR at setup of Exceptions.test_bad_service_names ______________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError _______________ ERROR at setup of Exceptions.test_bad_sub_types ________________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError _________________ ERROR at setup of Exceptions.test_bad_types __________________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ____________ ERROR at setup of Exceptions.test_good_instance_names _____________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ____ ERROR at setup of Exceptions.test_good_instance_names_without_protocol ____ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError _____________ ERROR at setup of Exceptions.test_good_service_names _____________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError _____________ ERROR at setup of Exceptions.test_invalid_addresses ______________ cls = @classmethod def setUpClass(cls): > cls.browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_exceptions.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError =================================== FAILURES =================================== __________________ test_service_browser_cancel_multiple_times __________________ def test_service_browser_cancel_multiple_times(): """Test we can cancel a ServiceBrowser multiple times before close.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _________________ test_service_browser_cancel_context_manager __________________ def test_service_browser_cancel_context_manager(): """Test we can cancel a ServiceBrowser with it being used as a context manager.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________ test_service_browser_cancel_multiple_times_after_close ____________ def test_service_browser_cancel_multiple_times_after_close(): """Test we can cancel a ServiceBrowser multiple times after close.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________ test_service_browser_started_after_zeroconf_closed ______________ def test_service_browser_started_after_zeroconf_closed(): """Test starting a ServiceBrowser after close raises RuntimeError.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:140: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________ test_multiple_instances_running_close _____________________ def test_multiple_instances_running_close(): """Test we can shutdown multiple instances.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________ TestServiceBrowser.test_update_record _____________________ self = def test_update_record(self): enable_ipv6 = has_working_ipv6() and not os.environ.get('SKIP_IPV6') service_name = 'name._type._tcp.local.' service_type = '_type._tcp.local.' service_server = 'ash-1.local.' service_text = b'path=/~matt1/' service_address = '10.0.1.2' service_v6_address = "2001:db8::1" service_v6_second_address = "6001:db8::1" service_added_count = 0 service_removed_count = 0 service_updated_count = 0 service_add_event = Event() service_removed_event = Event() service_updated_event = Event() class MyServiceListener(r.ServiceListener): def add_service(self, zc, type_, name) -> None: # type: ignore[no-untyped-def] nonlocal service_added_count service_added_count += 1 service_add_event.set() def remove_service(self, zc, type_, name) -> None: # type: ignore[no-untyped-def] nonlocal service_removed_count service_removed_count += 1 service_removed_event.set() def update_service(self, zc, type_, name) -> None: # type: ignore[no-untyped-def] nonlocal service_updated_count service_updated_count += 1 service_info = zc.get_service_info(type_, name) assert socket.inet_aton(service_address) in service_info.addresses if enable_ipv6: assert socket.inet_pton( socket.AF_INET6, service_v6_address ) in service_info.addresses_by_version(r.IPVersion.V6Only) assert socket.inet_pton( socket.AF_INET6, service_v6_second_address ) in service_info.addresses_by_version(r.IPVersion.V6Only) assert service_info.text == service_text assert service_info.server.lower() == service_server.lower() service_updated_event.set() def mock_record_update_incoming_msg(service_state_change: r.ServiceStateChange) -> r.DNSIncoming: generated = r.DNSOutgoing(const._FLAGS_QR_RESPONSE) assert generated.is_response() is True if service_state_change == r.ServiceStateChange.Removed: ttl = 0 else: ttl = 120 generated.add_answer_at_time( r.DNSText( service_name, const._TYPE_TXT, const._CLASS_IN | const._CLASS_UNIQUE, ttl, service_text ), 0, ) generated.add_answer_at_time( r.DNSService( service_name, const._TYPE_SRV, const._CLASS_IN | const._CLASS_UNIQUE, ttl, 0, 0, 80, service_server, ), 0, ) # Send the IPv6 address first since we previously # had a bug where the IPv4 would be missing if the # IPv6 was seen first if enable_ipv6: generated.add_answer_at_time( r.DNSAddress( service_server, const._TYPE_AAAA, const._CLASS_IN | const._CLASS_UNIQUE, ttl, socket.inet_pton(socket.AF_INET6, service_v6_address), ), 0, ) generated.add_answer_at_time( r.DNSAddress( service_server, const._TYPE_AAAA, const._CLASS_IN | const._CLASS_UNIQUE, ttl, socket.inet_pton(socket.AF_INET6, service_v6_second_address), ), 0, ) generated.add_answer_at_time( r.DNSAddress( service_server, const._TYPE_A, const._CLASS_IN | const._CLASS_UNIQUE, ttl, socket.inet_aton(service_address), ), 0, ) generated.add_answer_at_time( r.DNSPointer(service_type, const._TYPE_PTR, const._CLASS_IN, ttl, service_name), 0 ) return r.DNSIncoming(generated.packets()[0]) > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:295: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________ TestServiceBrowserMultipleTypes.test_update_record ______________ self = def test_update_record(self): service_names = ['name2._type2._tcp.local.', 'name._type._tcp.local.', 'name._type._udp.local'] service_types = ['_type2._tcp.local.', '_type._tcp.local.', '_type._udp.local.'] service_added_count = 0 service_removed_count = 0 service_add_event = Event() service_removed_event = Event() class MyServiceListener(r.ServiceListener): def add_service(self, zc, type_, name) -> None: # type: ignore[no-untyped-def] nonlocal service_added_count service_added_count += 1 if service_added_count == 3: service_add_event.set() def remove_service(self, zc, type_, name) -> None: # type: ignore[no-untyped-def] nonlocal service_removed_count service_removed_count += 1 if service_removed_count == 3: service_removed_event.set() def mock_record_update_incoming_msg( service_state_change: r.ServiceStateChange, service_type: str, service_name: str, ttl: int ) -> r.DNSIncoming: generated = r.DNSOutgoing(const._FLAGS_QR_RESPONSE) generated.add_answer_at_time( r.DNSPointer(service_type, const._TYPE_PTR, const._CLASS_IN, ttl, service_name), 0 ) return r.DNSIncoming(generated.packets()[0]) > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:405: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 19) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________________ test_first_query_delay ____________________________ def test_first_query_delay(): """Verify the first query is delayed. https://datatracker.ietf.org/doc/html/rfc6762#section-5.2 """ type_ = "_http._tcp.local." > zeroconf_browser = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:505: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________ test_legacy_record_update_listener ______________________ def test_legacy_record_update_listener(): """Test a RecordUpdateListener that does not implement update_records.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:827: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________________ test_service_browser_is_aware_of_port_changes _________________ def test_service_browser_is_aware_of_port_changes(): """Test that the ServiceBrowser is aware of port changes.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:887: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________________ test_service_browser_listeners_update_service _________________ def test_service_browser_listeners_update_service(): """Test that the ServiceBrowser ServiceListener that implements update_service.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:944: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________ test_service_browser_listeners_no_update_service _______________ def test_service_browser_listeners_no_update_service(): """Test that the ServiceBrowser ServiceListener that does not implement update_service.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:1002: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________ test_service_browser_uses_non_strict_names __________________ def test_service_browser_uses_non_strict_names(): """Verify we can look for technically invalid names as we cannot change what others do.""" # dummy service callback def on_service_state_change(zeroconf, service_type, state_change, name): pass > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:1057: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 21) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________________________ test_service_browser_matching _________________________ def test_service_browser_matching(): """Test that the ServiceBrowser matching does not match partial names.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:1311: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________ test_service_browser_expire_callbacks _____________________ @patch.object(_engine, "_CACHE_CLEANUP_INTERVAL", 0.01) def test_service_browser_expire_callbacks(): """Test that the ServiceBrowser matching does not match partial names.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_browser.py:1390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________ TestServiceInfo.test_get_info_partial _____________________ self = @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_get_info_partial(self): > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________ TestServiceInfo.test_get_info_single _____________________ self = def test_get_info_single(self): > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:492: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _________ TestServiceInfo.test_get_info_suppressed_by_question_history _________ self = @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_get_info_suppressed_by_question_history(self): > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:383: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 19) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______ TestServiceInfo.test_service_info_duplicate_properties_txt_records ______ self = def test_service_info_duplicate_properties_txt_records(self): """Verify the first property is always used when there are duplicates in a txt record.""" > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:593: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________ TestServiceInfo.test_service_info_rejects_expired_records ___________ self = def test_service_info_rejects_expired_records(self): """Verify records that are expired are rejected.""" > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________ TestServiceInfo.test_service_info_rejects_non_matching_updates ________ self = def test_service_info_rejects_non_matching_updates(self): """Verify records with the wrong name are rejected.""" > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________________ test_scoped_addresses_from_cache _______________________ @unittest.skipIf(sys.version_info < (3, 9, 0), 'Requires newer python') def test_scoped_addresses_from_cache(): type_ = "_http._tcp.local." registration_name = f"scoped.{type_}" > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:724: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 21) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ___________________________ test_asking_qu_questions ___________________________ def test_asking_qu_questions(): """Verify explictly asking QU questions.""" type_ = "_quservice._tcp.local." > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:929: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ___________________________ test_asking_qm_questions ___________________________ def test_asking_qm_questions(): """Verify explictly asking QM questions.""" type_ = "_quservice._tcp.local." > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:953: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________________ test_request_timeout _____________________________ def test_request_timeout(): """Test that the timeout does not throw an exception and finishes close to the actual timeout.""" > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/services/test_info.py:976: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________________________ test_integration_with_listener ________________________ disable_duplicate_packet_suppression = None def test_integration_with_listener(disable_duplicate_packet_suppression): type_ = "_test-listen-type._tcp.local." name = "xxxyyy" registration_name = f"{name}.{type_}" > zeroconf_registrar = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_types.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 23) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________ test_integration_with_listener_v6_records ___________________ disable_duplicate_packet_suppression = None @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_integration_with_listener_v6_records(disable_duplicate_packet_suppression): type_ = "_test-listenv6rec-type._tcp.local." name = "xxxyyy" registration_name = f"{name}.{type_}" addr = "2606:2800:220:1:248:1893:25c8:1946" # example.com > zeroconf_registrar = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_types.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________ test_integration_with_subtype_and_listener __________________ disable_duplicate_packet_suppression = None def test_integration_with_subtype_and_listener(disable_duplicate_packet_suppression): subtype_ = "_subtype._sub" type_ = "_listen._tcp.local." name = "xxxyyy" # Note: discovery returns only DNS-SD type not subtype discovery_type = f"{subtype_}.{type_}" registration_name = f"{name}.{type_}" > zeroconf_registrar = Zeroconf(interfaces=['127.0.0.1']) tests/services/test_types.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________ Framework.test_async_updates_from_response __________________ self = def test_async_updates_from_response(self): def mock_incoming_msg(service_state_change: r.ServiceStateChange) -> r.DNSIncoming: ttl = 120 generated = r.DNSOutgoing(const._FLAGS_QR_RESPONSE) if service_state_change == r.ServiceStateChange.Updated: generated.add_answer_at_time( r.DNSText( service_name, const._TYPE_TXT, const._CLASS_IN | const._CLASS_UNIQUE, ttl, service_text, ), 0, ) return r.DNSIncoming(generated.packets()[0]) if service_state_change == r.ServiceStateChange.Removed: ttl = 0 generated.add_answer_at_time( r.DNSPointer(service_type, const._TYPE_PTR, const._CLASS_IN, ttl, service_name), 0 ) generated.add_answer_at_time( r.DNSService( service_name, const._TYPE_SRV, const._CLASS_IN | const._CLASS_UNIQUE, ttl, 0, 0, 80, service_server, ), 0, ) generated.add_answer_at_time( r.DNSText( service_name, const._TYPE_TXT, const._CLASS_IN | const._CLASS_UNIQUE, ttl, service_text ), 0, ) generated.add_answer_at_time( r.DNSAddress( service_server, const._TYPE_A, const._CLASS_IN | const._CLASS_UNIQUE, ttl, socket.inet_aton(service_address), ), 0, ) return r.DNSIncoming(generated.packets()[0]) def mock_split_incoming_msg(service_state_change: r.ServiceStateChange) -> r.DNSIncoming: """Mock an incoming message for the case where the packet is split.""" ttl = 120 generated = r.DNSOutgoing(const._FLAGS_QR_RESPONSE) generated.add_answer_at_time( r.DNSAddress( service_server, const._TYPE_A, const._CLASS_IN | const._CLASS_UNIQUE, ttl, socket.inet_aton(service_address), ), 0, ) generated.add_answer_at_time( r.DNSService( service_name, const._TYPE_SRV, const._CLASS_IN | const._CLASS_UNIQUE, ttl, 0, 0, 80, service_server, ), 0, ) return r.DNSIncoming(generated.packets()[0]) service_name = 'name._type._tcp.local.' service_type = '_type._tcp.local.' service_server = 'ash-2.local.' service_text = b'path=/~paulsm/' service_address = '10.0.1.2' > zeroconf = r.Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________________ Framework.test_launch_and_close ________________________ self = def test_launch_and_close(self): > rv = r.Zeroconf(interfaces=r.InterfaceChoice.All) tests/test_core.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '192.168.122.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '192.168.122.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('192.168.122.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 192.168.122.1 _______________ Framework.test_launch_and_close_context_manager ________________ self = def test_launch_and_close_context_manager(self): > with r.Zeroconf(interfaces=r.InterfaceChoice.All) as rv: tests/test_core.py:72: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '192.168.122.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '192.168.122.1' (socket 16) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('192.168.122.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 192.168.122.1 ____________________ Framework.test_launch_and_close_v4_v6 _____________________ self = @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_launch_and_close_v4_v6(self): > rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.All) tests/test_core.py:94: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = (('::1', 0, 0), 1), apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) > respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:341: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.All, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding (('::1', 0, 0), 1) (socket 18) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V6Only, apple_p2p False and bind_addr ('::1', 0, 0) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface (('::1', 0, 0), 1) ___________________ Framework.test_launch_and_close_v6_only ____________________ self = @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_launch_and_close_v6_only(self): > rv = r.Zeroconf(interfaces=r.InterfaceChoice.All, ip_version=r.IPVersion.V6Only) tests/test_core.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = (('::1', 0, 0), 1), apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) > respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:341: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V6Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding (('::1', 0, 0), 1) (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V6Only, apple_p2p False and bind_addr ('::1', 0, 0) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface (('::1', 0, 0), 1) ____________________ test_generate_service_query_set_qu_bit ____________________ def test_generate_service_query_set_qu_bit(): """Test generate_service_query sets the QU bit.""" > zeroconf_registrar = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________ test_invalid_packets_ignored_and_does_not_cause_loop_exception ________ def test_invalid_packets_ignored_and_does_not_cause_loop_exception(): """Ensure an invalid packet cannot cause the loop to collapse.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________________ test_goodbye_all_services ___________________________ def test_goodbye_all_services(): """Verify generating the goodbye query does not change with time.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 26) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________ test_register_service_with_custom_ttl _____________________ def test_register_service_with_custom_ttl(): """Test a registering a service with a custom ttl.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:340: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________________ test_logging_packets _____________________________ caplog = <_pytest.logging.LogCaptureFixture object at 0x7394cc2fcad0> def test_logging_packets(caplog): """Test packets are only logged with debug logging.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________ test_get_service_info_failure_path ______________________ def test_get_service_info_failure_path(): """Verify get_service_info return None when the underlying call returns False.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:401: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________________ test_sending_unicast _____________________________ def test_sending_unicast(): """Test sending unicast response.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:408: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 28) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________________ test_tc_bit_defers ______________________________ def test_tc_bit_defers(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:440: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 13) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ___________________ test_tc_bit_defers_last_response_missing ___________________ def test_tc_bit_defers_last_response_missing(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ___________________ test_shutdown_while_register_in_process ____________________ def test_shutdown_while_register_in_process(): """Test we can shutdown while registering a service in another thread.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_core.py:658: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________ TestRegistrar.test_name_conflicts _______________________ self = def test_name_conflicts(self): # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________ TestRegistrar.test_register_and_lookup_type_by_uppercase_name _________ self = def test_register_and_lookup_type_by_uppercase_name(self): # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________________ TestRegistrar.test_ttl ____________________________ self = def test_ttl(self): # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:47: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________________ test_ptr_optimization _____________________________ def test_ptr_optimization(): # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 19) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________________ test_any_query_for_ptr ____________________________ @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_any_query_for_ptr(): """Test that queries for ANY will return PTR records and the response is aggregated.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:296: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________________________ test_aaaa_query ________________________________ @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_aaaa_query(): """Test that queries for AAAA records work and should respond right away.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:325: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________________ test_aaaa_query_upper_case __________________________ @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_aaaa_query_upper_case(): """Test that queries for AAAA records work and should respond right away with an upper case name.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:352: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________ test_a_and_aaaa_record_fate_sharing ______________________ @unittest.skipIf(not has_working_ipv6(), 'Requires IPv6') @unittest.skipIf(os.environ.get('SKIP_IPV6'), 'IPv6 tests disabled') def test_a_and_aaaa_record_fate_sharing(): """Test that queries for AAAA always return A records in the additionals and should respond right away.""" > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 21) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ____________________________ test_unicast_response _____________________________ def test_unicast_response(): """Ensure we send a unicast response when the source port is not the MDNS port.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________________________ test_qu_response _______________________________ def test_qu_response(): """Handle multicast incoming with the QU bit set.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:568: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _________________________ test_known_answer_supression _________________________ def test_known_answer_supression(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:683: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 __________________ test_multi_packet_known_answer_supression ___________________ def test_multi_packet_known_answer_supression(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:815: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 23) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _________ test_known_answer_supression_service_type_enumeration_query __________ def test_known_answer_supression_service_type_enumeration_query(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:870: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________ test_upper_case_enumeration_query _______________________ def test_upper_case_enumeration_query(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:943: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________ test_enumeration_query_with_no_registered_services ______________ def test_enumeration_query_with_no_registered_services(): > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_handlers.py:983: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ________________ Names.test_large_packet_exception_log_handling ________________ self = def test_large_packet_exception_log_handling(self): """Verify we downgrade debug after warning.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_init.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _______________ Names.test_verify_name_change_with_lots_of_names _______________ self = def test_verify_name_change_with_lots_of_names(self): # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_init.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________ test_guard_against_oversized_packets _____________________ def test_guard_against_oversized_packets(): """Ensure we do not process oversized packets. These packets can quickly overwhelm the system. """ > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_listener.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 17) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _____________________ test_guard_against_duplicate_packets _____________________ def test_guard_against_duplicate_packets(): """Ensure we do not process duplicate packets. These packets can quickly overwhelm the system. """ > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_listener.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 25) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________ ListenerTest.test_integration_with_listener_class _______________ self = def test_integration_with_listener_class(self): sub_service_added = Event() service_added = Event() service_removed = Event() sub_service_updated = Event() duplicate_service_added = Event() subtype_name = "_printer" type_ = "_http._tcp.local." subtype = subtype_name + "._sub." + type_ name = "UPPERxxxyyyæøå" registration_name = f"{name}.{subtype}" class MyListener(r.ServiceListener): def add_service(self, zeroconf, type, name): zeroconf.get_service_info(type, name) service_added.set() def remove_service(self, zeroconf, type, name): service_removed.set() def update_service(self, zeroconf, type, name): pass class DuplicateListener(r.ServiceListener): def add_service(self, zeroconf, type, name): duplicate_service_added.set() def remove_service(self, zeroconf, type, name): pass def update_service(self, zeroconf, type, name): pass class MySubListener(r.ServiceListener): def add_service(self, zeroconf, type, name): sub_service_added.set() pass def remove_service(self, zeroconf, type, name): pass def update_service(self, zeroconf, type, name): sub_service_updated.set() listener = MyListener() > zeroconf_browser = Zeroconf(interfaces=['127.0.0.1']) tests/test_services.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 _________________ test_servicelisteners_raise_not_implemented __________________ def test_servicelisteners_raise_not_implemented(): """Verify service listeners raise when one of the methods is not implemented.""" class MyPartialListener(r.ServiceListener): """A listener that does not implement anything.""" > zc = r.Zeroconf(interfaces=['127.0.0.1']) tests/test_services.py:228: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 15) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 ______________________ test_legacy_record_update_listener ______________________ def test_legacy_record_update_listener(): """Test a RecordUpdateListener that does not implement update_records.""" # instantiate a zeroconf instance > zc = Zeroconf(interfaces=['127.0.0.1']) tests/test_updates.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/zeroconf/_core.py:180: in __init__ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, apple_p2p=apple_p2p) src/zeroconf/_utils/net.py:374: in create_sockets respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ interface = '127.0.0.1', apple_p2p = False def new_respond_socket( interface: Union[str, Tuple[Tuple[str, int, int], int]], apple_p2p: bool = False, ) -> Optional[socket.socket]: is_v6 = isinstance(interface, tuple) respond_socket = new_socket( ip_version=(IPVersion.V6Only if is_v6 else IPVersion.V4Only), apple_p2p=apple_p2p, bind_addr=cast(Tuple[Tuple[str, int, int], int], interface)[0] if is_v6 else (cast(str, interface),), ) if not respond_socket: return None log.debug('Configuring socket %s with multicast interface %s', respond_socket, interface) if is_v6: iface_bin = struct.pack('@I', cast(int, interface[1])) respond_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_MULTICAST_IF, iface_bin) else: > respond_socket.setsockopt( socket.IPPROTO_IP, socket.IP_MULTICAST_IF, socket.inet_aton(cast(str, interface)) ) E OSError: [Errno 92] Protocol not available src/zeroconf/_utils/net.py:343: OSError ------------------------------ Captured log call ------------------------------- DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:271 Adding '127.0.0.1' (socket 11) to multicast group DEBUG zeroconf:net.py:222 Creating new socket with port 5353, ip_version IPVersion.V4Only, apple_p2p False and bind_addr ('127.0.0.1',) DEBUG zeroconf:net.py:257 Created socket DEBUG zeroconf:net.py:338 Configuring socket with multicast interface 127.0.0.1 =============================== warnings summary =============================== tests/services/test_browser.py:538 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:538: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:640 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:640: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:750 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:750: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:786 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:786: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:1092 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:1092: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:1145 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:1145: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:1235 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:1235: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:1506 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:1506: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py:1574 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_browser.py:1574: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:767 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:767: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:787 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:787: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:986 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:986: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1009 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1009: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1074 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1074: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1157 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1157: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1240 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1240: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1322 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1322: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1412 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1412: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1466 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1466: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1548 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1548: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1630 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1630: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_info.py:1702 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/services/test_info.py:1702: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:83 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:83: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:90 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:90: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:98 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:98: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:107 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:107: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:117 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:117: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:129 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:129: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:196 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:196: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:263 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:263: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:330 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:330: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:397 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:397: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:445 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:445: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:471 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:471: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:506 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:506: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:572 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:572: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:608 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:608: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:714 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:714: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:774 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:774: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:798 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:798: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:824 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:824: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:883 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:883: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:917 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:917: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:928 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:928: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:977 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:977: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1125 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1125: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1172 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1172: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1263 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1263: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1277 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1277: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1286 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1286: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_asyncio.py:1320 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_asyncio.py:1320: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_core.py:609 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_core.py:609: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_core.py:629 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_core.py:629: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_core.py:685 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_core.py:685: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_engine.py:35 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_engine.py:35: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_engine.py:70 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_engine.py:70: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:477 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:477: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:521 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:521: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:997 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:997: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1148 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1148: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1232 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1232: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1279 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1279: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1321 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1321: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1360 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1360: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1411 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1411: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1443 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1443: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1544 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1544: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1619 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1619: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1692 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1692: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1742 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1742: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1767 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1767: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/test_handlers.py:1811 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/test_handlers.py:1811: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/utils/test_asyncio.py:22 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/utils/test_asyncio.py:22: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/utils/test_asyncio.py:38 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/utils/test_asyncio.py:38: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/utils/test_asyncio.py:49 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/utils/test_asyncio.py:49: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/utils/test_asyncio.py:122 /build/python-zeroconf/src/python-zeroconf-0.132.2/tests/utils/test_asyncio.py:122: PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.asyncio tests/services/test_browser.py: 9 warnings tests/services/test_info.py: 13 warnings tests/test_asyncio.py: 29 warnings tests/test_core.py: 3 warnings tests/test_engine.py: 2 warnings tests/test_handlers.py: 16 warnings tests/utils/test_asyncio.py: 4 warnings /usr/lib/python3.12/site-packages/_pytest/python.py:148: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. You need to install a suitable plugin for your async framework, for example: - anyio - pytest-asyncio - pytest-tornasync - pytest-trio - pytest-twisted warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/services/test_browser.py::test_group_ptr_queries_with_known_answers /usr/lib/python3.12/site-packages/coverage/collector.py:312: ResourceWarning: unclosed def lock_data(self) -> None: Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_asyncio.py::test_async_zeroconf_service_types /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_asyncio.py::test_async_zeroconf_service_types /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_asyncio.py::test_async_zeroconf_service_types tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_asyncio.py::test_async_zeroconf_service_types tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_engine.py::test_reaper_aborts_when_done /usr/lib/python3.12/site-packages/_pytest/_code/code.py:198: ResourceWarning: unclosed def __init__( Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/test_handlers.py::test_questions_query_handler_does_not_put_qu_questions_in_history /usr/lib/python3.12/shutil.py:1445: ResourceWarning: unclosed columns = 0 Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/utils/test_asyncio.py::test_run_coro_with_timeout /usr/lib/python3.12/asyncio/base_events.py:726: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/utils/test_net.py::test_disable_ipv6_only_or_raise /usr/lib/python3.12/site-packages/_pytest/python.py:159: ResourceWarning: unclosed result = testfunction(**testargs) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/utils/test_net.py::test_add_multicast_member /usr/lib/python3.12/contextlib.py:572: ResourceWarning: unclosed frame_exc = sys.exc_info()[1] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. tests/utils/test_net.py::test_add_multicast_member /usr/lib/python3.12/contextlib.py:572: ResourceWarning: unclosed frame_exc = sys.exc_info()[1] Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.12.6-final-0 ----------- Name Stmts Miss Cover Missing ---------------------------------------------------------------------------------- src/zeroconf/_cache.py 103 16 84% 106, 122-124, 135, 148, 199, 203, 210, 230, 243-249 src/zeroconf/_core.py 276 138 50% 115-139, 205, 211-212, 235-240, 244, 248-250, 261, 275-278, 284-285, 289-291, 296, 317-318, 340-350, 361-362, 370-371, 385-388, 398-401, 410-412, 416-427, 437-445, 454-455, 461-469, 478-482, 495-498, 521-547, 558-559, 566-567, 578, 585, 596-597, 608-621, 651, 671-673, 676, 684-685 src/zeroconf/_dns.py 253 6 98% 121, 147, 194, 539, 543, 558 src/zeroconf/_engine.py 80 7 91% 114-120, 152-153 src/zeroconf/_handlers/answers.py 46 25 46% 57-60, 64, 77-79, 84-86, 93-99, 104-114 src/zeroconf/_handlers/multicast_outgoing_queue.py 49 29 41% 69-87, 91-93, 97-122 src/zeroconf/_handlers/query_handler.py 215 167 22% 85-88, 108-116, 120-127, 131-132, 136-152, 158-162, 177-178, 187-188, 212-217, 223-229, 243-262, 273-294, 304-350, 357-398, 416-437 src/zeroconf/_handlers/record_manager.py 87 65 25% 59-60, 70-73, 82-161, 172-184, 193-204, 211-215 src/zeroconf/_history.py 29 1 97% 79 src/zeroconf/_listener.py 102 60 41% 89-104, 114-184, 196-210, 216-217, 228-233, 241-242 src/zeroconf/_protocol/incoming.py 229 5 98% 141, 197-198, 208, 211 src/zeroconf/_protocol/outgoing.py 243 2 99% 123, 415 src/zeroconf/_services/__init__.py 34 7 79% 39, 42, 45, 52, 55-56, 60 src/zeroconf/_services/browser.py 331 202 39% 256-279, 290, 295-302, 340-353, 365-367, 371-375, 381-385, 389-390, 394-396, 400-414, 420-431, 438-457, 465-510, 520-524, 570-604, 612-614, 618, 622, 634-643, 654-687, 698-700, 710-712, 721-726, 730-732, 753-765, 772-775, 779-783, 792-794, 797, 805-806 src/zeroconf/_services/info.py 420 206 51% 113, 184, 257, 282-286, 298-300, 401-404, 408, 423-435, 445-453, 462, 471, 478-483, 490-560, 600, 604-617, 621, 625-644, 654, 669, 673, 685, 689-702, 706-713, 720-722, 729, 736-752, 757, 780-783, 790, 793, 819-865, 880-894, 900-918 src/zeroconf/_services/registry.py 52 3 94% 59-60, 86 src/zeroconf/_services/types.py 24 10 58% 40, 44, 70-83 src/zeroconf/_updates.py 11 3 73% 50, 70-71 src/zeroconf/_utils/asyncio.py 57 20 65% 46-47, 52-54, 61-68, 73-75, 87, 97-98, 116-117 src/zeroconf/_utils/name.py 64 20 69% 89-99, 104, 107, 110, 119, 122, 127, 141, 144-146, 149, 154, 157 src/zeroconf/_utils/net.py 209 7 97% 144, 185, 244, 270, 346, 376, 402 src/zeroconf/asyncio.py 70 36 49% 74-75, 79, 82, 90-91, 115-130, 166-172, 192, 203, 211, 221, 226-231, 245, 251-252, 256-258, 262, 267, 275-276 ---------------------------------------------------------------------------------- TOTAL 3237 1035 68% 11 files skipped due to complete coverage. =========================== short test summary info ============================ FAILED tests/services/test_browser.py::test_service_browser_cancel_multiple_times FAILED tests/services/test_browser.py::test_service_browser_cancel_context_manager FAILED tests/services/test_browser.py::test_service_browser_cancel_multiple_times_after_close FAILED tests/services/test_browser.py::test_service_browser_started_after_zeroconf_closed FAILED tests/services/test_browser.py::test_multiple_instances_running_close FAILED tests/services/test_browser.py::TestServiceBrowser::test_update_record FAILED tests/services/test_browser.py::TestServiceBrowserMultipleTypes::test_update_record FAILED tests/services/test_browser.py::test_first_query_delay - OSError: [Err... FAILED tests/services/test_browser.py::test_legacy_record_update_listener - O... FAILED tests/services/test_browser.py::test_service_browser_is_aware_of_port_changes FAILED tests/services/test_browser.py::test_service_browser_listeners_update_service FAILED tests/services/test_browser.py::test_service_browser_listeners_no_update_service FAILED tests/services/test_browser.py::test_service_browser_uses_non_strict_names FAILED tests/services/test_browser.py::test_service_browser_matching - OSErro... FAILED tests/services/test_browser.py::test_service_browser_expire_callbacks FAILED tests/services/test_info.py::TestServiceInfo::test_get_info_partial - ... FAILED tests/services/test_info.py::TestServiceInfo::test_get_info_single - O... FAILED tests/services/test_info.py::TestServiceInfo::test_get_info_suppressed_by_question_history FAILED tests/services/test_info.py::TestServiceInfo::test_service_info_duplicate_properties_txt_records FAILED tests/services/test_info.py::TestServiceInfo::test_service_info_rejects_expired_records FAILED tests/services/test_info.py::TestServiceInfo::test_service_info_rejects_non_matching_updates FAILED tests/services/test_info.py::test_scoped_addresses_from_cache - OSErro... FAILED tests/services/test_info.py::test_asking_qu_questions - OSError: [Errn... FAILED tests/services/test_info.py::test_asking_qm_questions - OSError: [Errn... FAILED tests/services/test_info.py::test_request_timeout - OSError: [Errno 92... FAILED tests/services/test_types.py::test_integration_with_listener - OSError... FAILED tests/services/test_types.py::test_integration_with_listener_v6_records FAILED tests/services/test_types.py::test_integration_with_subtype_and_listener FAILED tests/test_core.py::Framework::test_async_updates_from_response - OSEr... FAILED tests/test_core.py::Framework::test_launch_and_close - OSError: [Errno... FAILED tests/test_core.py::Framework::test_launch_and_close_context_manager FAILED tests/test_core.py::Framework::test_launch_and_close_v4_v6 - OSError: ... FAILED tests/test_core.py::Framework::test_launch_and_close_v6_only - OSError... FAILED tests/test_core.py::test_generate_service_query_set_qu_bit - OSError: ... FAILED tests/test_core.py::test_invalid_packets_ignored_and_does_not_cause_loop_exception FAILED tests/test_core.py::test_goodbye_all_services - OSError: [Errno 92] Pr... FAILED tests/test_core.py::test_register_service_with_custom_ttl - OSError: [... FAILED tests/test_core.py::test_logging_packets - OSError: [Errno 92] Protoco... FAILED tests/test_core.py::test_get_service_info_failure_path - OSError: [Err... FAILED tests/test_core.py::test_sending_unicast - OSError: [Errno 92] Protoco... FAILED tests/test_core.py::test_tc_bit_defers - OSError: [Errno 92] Protocol ... FAILED tests/test_core.py::test_tc_bit_defers_last_response_missing - OSError... FAILED tests/test_core.py::test_shutdown_while_register_in_process - OSError:... FAILED tests/test_handlers.py::TestRegistrar::test_name_conflicts - OSError: ... FAILED tests/test_handlers.py::TestRegistrar::test_register_and_lookup_type_by_uppercase_name FAILED tests/test_handlers.py::TestRegistrar::test_ttl - OSError: [Errno 92] ... FAILED tests/test_handlers.py::test_ptr_optimization - OSError: [Errno 92] Pr... FAILED tests/test_handlers.py::test_any_query_for_ptr - OSError: [Errno 92] P... FAILED tests/test_handlers.py::test_aaaa_query - OSError: [Errno 92] Protocol... FAILED tests/test_handlers.py::test_aaaa_query_upper_case - OSError: [Errno 9... FAILED tests/test_handlers.py::test_a_and_aaaa_record_fate_sharing - OSError:... FAILED tests/test_handlers.py::test_unicast_response - OSError: [Errno 92] Pr... FAILED tests/test_handlers.py::test_qu_response - OSError: [Errno 92] Protoco... FAILED tests/test_handlers.py::test_known_answer_supression - OSError: [Errno... FAILED tests/test_handlers.py::test_multi_packet_known_answer_supression - OS... FAILED tests/test_handlers.py::test_known_answer_supression_service_type_enumeration_query FAILED tests/test_handlers.py::test_upper_case_enumeration_query - OSError: [... FAILED tests/test_handlers.py::test_enumeration_query_with_no_registered_services FAILED tests/test_init.py::Names::test_large_packet_exception_log_handling - ... FAILED tests/test_init.py::Names::test_verify_name_change_with_lots_of_names FAILED tests/test_listener.py::test_guard_against_oversized_packets - OSError... FAILED tests/test_listener.py::test_guard_against_duplicate_packets - OSError... FAILED tests/test_services.py::ListenerTest::test_integration_with_listener_class FAILED tests/test_services.py::test_servicelisteners_raise_not_implemented - ... FAILED tests/test_updates.py::test_legacy_record_update_listener - OSError: [... ERROR tests/test_exceptions.py::Exceptions::test_bad_local_names_for_get_service_info ERROR tests/test_exceptions.py::Exceptions::test_bad_service_info_name - OSEr... ERROR tests/test_exceptions.py::Exceptions::test_bad_service_names - OSError:... ERROR tests/test_exceptions.py::Exceptions::test_bad_sub_types - OSError: [Er... ERROR tests/test_exceptions.py::Exceptions::test_bad_types - OSError: [Errno ... ERROR tests/test_exceptions.py::Exceptions::test_good_instance_names - OSErro... ERROR tests/test_exceptions.py::Exceptions::test_good_instance_names_without_protocol ERROR tests/test_exceptions.py::Exceptions::test_good_service_names - OSError... ERROR tests/test_exceptions.py::Exceptions::test_invalid_addresses - OSError:... = 65 failed, 144 passed, 78 skipped, 1 deselected, 184 warnings, 9 errors in 81.98s (0:01:21) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root24/build [?25h[?25hreceiving incremental file list python-zeroconf-0.132.2-1-riscv64-build.log python-zeroconf-0.132.2-1-riscv64-check.log sent 62 bytes received 21,090 bytes 8,460.80 bytes/sec total size is 343,021 speedup is 16.22