Skip to content

Add CHANGELOG

9e10353
Select commit
Loading
Failed to load commit list.
Open

Use constants to decide distro version #46666

Add CHANGELOG
9e10353
Select commit
Loading
Failed to load commit list.
Azure Pipelines / python - pullrequest failed May 1, 2026 in 14m 32s

Build #20260501.9 had test failures

Details

Tests

  • Failed: 168 (100.00%)
  • Passed: 0 (0.00%)
  • Other: 0 (0.00%)
  • Total: 168

Annotations

Check failure on line 342 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

Build log #L342

The process '/mnt/vss/_work/1/s/venv/bin/python' failed with exit code 1

Check failure on line 363 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

Build log #L363

The process '/mnt/vss/_work/1/s/venv-api-stub/bin/python' failed with exit code 1

Check failure on line 1370 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

Build log #L1370

PowerShell exited with code '1'.

Check failure on line 74645 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

Build log #L74645

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 1 in sdk.monitor.azure-monitor-opentelemetry.tests.autoinstrumentation.test_configurator

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

sdk.monitor.azure-monitor-opentelemetry.tests.autoinstrumentation.test_configurator

collection failure
Raw output
ImportError while importing test module '/mnt/vss/_work/1/s/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_configurator.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/autoinstrumentation/test_configurator.py:11: in <module>
    from azure.monitor.opentelemetry._autoinstrumentation.configurator import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/__init__.py:7: in <module>
    from azure.monitor.opentelemetry._configure import configure_azure_monitor
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_configure.py:25: in <module>
    from azure.monitor.opentelemetry._constants import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_constants.py:7: in <module>
    from azure.monitor.opentelemetry.exporter._constants import (  # pylint: disable=import-error,no-name-in-module
E   ImportError: cannot import name '_AZURE_MONITOR_DISTRO_VERSION' from 'azure.monitor.opentelemetry.exporter._constants' (/mnt/vss/_work/1/s/.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/exporter/_constants.py)

Check failure on line 1 in sdk.monitor.azure-monitor-opentelemetry.tests.autoinstrumentation.test_distro

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

sdk.monitor.azure-monitor-opentelemetry.tests.autoinstrumentation.test_distro

collection failure
Raw output
ImportError while importing test module '/mnt/vss/_work/1/s/sdk/monitor/azure-monitor-opentelemetry/tests/autoinstrumentation/test_distro.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/autoinstrumentation/test_distro.py:13: in <module>
    from azure.monitor.opentelemetry._autoinstrumentation.distro import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/__init__.py:7: in <module>
    from azure.monitor.opentelemetry._configure import configure_azure_monitor
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_configure.py:25: in <module>
    from azure.monitor.opentelemetry._constants import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_constants.py:7: in <module>
    from azure.monitor.opentelemetry.exporter._constants import (  # pylint: disable=import-error,no-name-in-module
E   ImportError: cannot import name '_AZURE_MONITOR_DISTRO_VERSION' from 'azure.monitor.opentelemetry.exporter._constants' (/mnt/vss/_work/1/s/.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/exporter/_constants.py)

Check failure on line 1 in sdk.monitor.azure-monitor-opentelemetry.tests.browserSdkLoader.test_integration

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

sdk.monitor.azure-monitor-opentelemetry.tests.browserSdkLoader.test_integration

collection failure
Raw output
ImportError while importing test module '/mnt/vss/_work/1/s/sdk/monitor/azure-monitor-opentelemetry/tests/browserSdkLoader/test_integration.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/browserSdkLoader/test_integration.py:12: in <module>
    from azure.monitor.opentelemetry._constants import BROWSER_SDK_LOADER_CONFIG_ARG
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/__init__.py:7: in <module>
    from azure.monitor.opentelemetry._configure import configure_azure_monitor
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_configure.py:25: in <module>
    from azure.monitor.opentelemetry._constants import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_constants.py:7: in <module>
    from azure.monitor.opentelemetry.exporter._constants import (  # pylint: disable=import-error,no-name-in-module
E   ImportError: cannot import name '_AZURE_MONITOR_DISTRO_VERSION' from 'azure.monitor.opentelemetry.exporter._constants' (/mnt/vss/_work/1/s/.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/exporter/_constants.py)

Check failure on line 1 in sdk.monitor.azure-monitor-opentelemetry.tests.diagnostics.test_diagnostic_logging

See this annotation in the file changed.

@azure-pipelines azure-pipelines / python - pullrequest

sdk.monitor.azure-monitor-opentelemetry.tests.diagnostics.test_diagnostic_logging

collection failure
Raw output
ImportError while importing test module '/mnt/vss/_work/1/s/sdk/monitor/azure-monitor-opentelemetry/tests/diagnostics/test_diagnostic_logging.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.20/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/diagnostics/test_diagnostic_logging.py:12: in <module>
    import azure.monitor.opentelemetry._diagnostics.diagnostic_logging as diagnostic_logger
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/__init__.py:7: in <module>
    from azure.monitor.opentelemetry._configure import configure_azure_monitor
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_configure.py:25: in <module>
    from azure.monitor.opentelemetry._constants import (
../../../.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/_constants.py:7: in <module>
    from azure.monitor.opentelemetry.exporter._constants import (  # pylint: disable=import-error,no-name-in-module
E   ImportError: cannot import name '_AZURE_MONITOR_DISTRO_VERSION' from 'azure.monitor.opentelemetry.exporter._constants' (/mnt/vss/_work/1/s/.venv/azure-monitor-opentelemetry/.venv_mindependency/lib/python3.10/site-packages/azure/monitor/opentelemetry/exporter/_constants.py)