Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-metadata-check-hook.sh Using pythonMetadataCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/2535x5qnx3hqix529cl63p1xxb2j86js-source source root is source/exporter/opentelemetry-exporter-otlp-proto-http setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/exporter/opentelemetry-exporter-otlp-proto-http/tests/test_proto_span_exporter.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built opentelemetry_exporter_otlp_proto_http-1.40.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for opentelemetry_exporter_otlp_proto_http-1.40.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed opentelemetry_exporter_otlp_proto_http-1.40.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-77118-3421093627/ in /nix/store/br6zxgwgpi0gawfxdk8rmf7ib85cxabq-python3.14-opentelemetry-exporter-otlp-proto-http-1.40.0... patching script interpreter paths in /nix/store/br6zxgwgpi0gawfxdk8rmf7ib85cxabq-python3.14-opentelemetry-exporter-otlp-proto-http-1.40.0 stripping (with command strip and flags -S) in /nix/store/br6zxgwgpi0gawfxdk8rmf7ib85cxabq-python3.14-opentelemetry-exporter-otlp-proto-http-1.40.0/lib checking for references to /nix/var/nix/builds/nix-77118-3421093627/ in /nix/store/cym8ly3sxp63kxziq400ns6aj35r48x4-python3.14-opentelemetry-exporter-otlp-proto-http-1.40.0-dist... patching script interpreter paths in /nix/store/cym8ly3sxp63kxziq400ns6aj35r48x4-python3.14-opentelemetry-exporter-otlp-proto-http-1.40.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: opentelemetry.exporter.otlp.proto.http Running phase: pythonMetadataCheckPhase Executing pythonMetadataCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest -k not\ \(test_retry_timeout\)\ and\ not\ \(test_shutdown_interrupts_retry_backoff\) ============================= test session starts ============================== platform darwin -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 -- /nix/store/kmq6qdcg0yq6r4awf02dgq003n42r6zk-python3-3.14.7/bin/python3.14 cachedir: .pytest_cache rootdir: /nix/var/nix/builds/nix-77118-3421093627/source configfile: pyproject.toml collected 46 items / 6 deselected / 40 selected tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_2xx_status_code PASSED [ 2%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_aggregation_temporality PASSED [ 5%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_constructor_default PASSED [ 7%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exponential_explicit_bucket_histogram PASSED [ 10%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_export_no_collector_available PASSED [ 12%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_export_no_collector_available_retryable PASSED [ 15%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exporter_constructor_take_priority PASSED [ 17%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exporter_env PASSED [ 20%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exporter_env_endpoint_with_slash PASSED [ 22%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exporter_env_endpoint_without_slash PASSED [ 25%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_exporter_metrics_env_take_priority PASSED [ 27%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_failure -------------------------------- live log call --------------------------------- ERROR opentelemetry.exporter.otlp.proto.http.metric_exporter:__init__.py:250 Failed to export metrics batch code: 401, reason: None PASSED [ 30%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_headers_parse_from_env PASSED [ 32%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_preferred_aggregation_override PASSED [ 35%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_serialization PASSED [ 37%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_success PASSED [ 40%] tests/metrics/test_otlp_metrics_exporter.py::TestOTLPMetricExporter::test_timeout_set_correctly PASSED [ 42%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_2xx_status_code PASSED [ 45%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_constructor_default PASSED [ 47%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exception_raised_when_entrypoint_does_not_exist PASSED [ 50%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exception_raised_when_entrypoint_returns_wrong_type PASSED [ 52%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_export_no_collector_available PASSED [ 55%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_export_no_collector_available_retryable PASSED [ 57%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exported_log_without_span_id PASSED [ 60%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exported_log_without_trace_id PASSED [ 62%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exporter_constructor_take_priority PASSED [ 65%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exporter_env PASSED [ 67%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_exporter_logs_env_take_priority PASSED [ 70%] tests/test_proto_log_exporter.py::TestOTLPHTTPLogExporter::test_timeout_set_correctly PASSED [ 72%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_2xx_status_code PASSED [ 75%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_constructor_default PASSED [ 77%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_export_no_collector_available PASSED [ 80%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_export_no_collector_available_retryable PASSED [ 82%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_exporter_constructor_take_priority PASSED [ 85%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_exporter_env PASSED [ 87%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_exporter_env_endpoint_with_slash PASSED [ 90%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_exporter_env_endpoint_without_slash PASSED [ 92%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_exporter_traces_env_take_priority PASSED [ 95%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_headers_parse_from_env PASSED [ 97%] tests/test_proto_span_exporter.py::TestOTLPSpanExporter::test_timeout_set_correctly PASSED [100%] =============================== warnings summary =============================== ../../../../../../../store/l9vvniyfn908ibypm9j5s1fgz6625df3-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/cacheprovider.py:469 /nix/store/l9vvniyfn908ibypm9j5s1fgz6625df3-python3.14-pytest-9.1.1/lib/python3.14/site-packages/_pytest/cacheprovider.py:469: PytestCacheWarning: could not create cache path /nix/var/nix/builds/nix-77118-3421093627/source/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/nix/var/nix/builds/nix-77118-3421093627/source/pytest-cache-files-kvru90fy' config.cache.set("cache/nodeids", sorted(self.cached_nodeids)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================= 40 passed, 6 deselected, 1 warning in 5.00s ================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase