Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for TPM Using PyOpenSSL with Azure IoT SDK #1194

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Add TPM support PyOpenSSL/PKCS#11

8fed995
Select commit
Loading
Failed to load commit list.
Draft

Support for TPM Using PyOpenSSL with Azure IoT SDK #1194

Add TPM support PyOpenSSL/PKCS#11
8fed995
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Azure.azure-iot-sdk-python-dps-e2e failed Sep 6, 2024 in 58s

Build #20240906.1 had test failures

Details

Tests

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

Annotations

Check failure on line 90 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.azure-iot-sdk-python-dps-e2e

Build log #L90

Bash exited with code '2'.

Check failure on line 1 in tests.test_async_certificate_enrollments

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.azure-iot-sdk-python-dps-e2e

tests.test_async_certificate_enrollments

collection failure
Raw output
tests/test_async_certificate_enrollments.py:8: in <module>
    from provisioning_e2e.service_helper import Helper, connection_string_to_hostname
service_helper.py:12: in <module>
    from azure.iot.device.common.auth.connection_string import ConnectionString
../../../azure-iot-device/azure/iot/device/__init__.py:9: in <module>
    from .provisioning import *  # noqa: F401, F403
../../../azure-iot-device/azure/iot/device/provisioning/__init__.py:7: in <module>
    from .provisioning_device_client import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/provisioning_device_client.py:16: in <module>
    from .abstract_provisioning_device_client import AbstractProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:77: in <module>
    class AbstractProvisioningDeviceClient(abc.ABC):
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:245: in AbstractProvisioningDeviceClient
    ssl_context: ssl.SSLContext | OpenSSL.SSL.Context,
E   TypeError: unsupported operand type(s) for |: 'type' and 'type'

Check failure on line 1 in tests.test_async_symmetric_enrollments

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.azure-iot-sdk-python-dps-e2e

tests.test_async_symmetric_enrollments

collection failure
Raw output
tests/test_async_symmetric_enrollments.py:8: in <module>
    from azure.iot.device.aio import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/__init__.py:9: in <module>
    from .provisioning import *  # noqa: F401, F403
../../../azure-iot-device/azure/iot/device/provisioning/__init__.py:7: in <module>
    from .provisioning_device_client import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/provisioning_device_client.py:16: in <module>
    from .abstract_provisioning_device_client import AbstractProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:77: in <module>
    class AbstractProvisioningDeviceClient(abc.ABC):
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:245: in AbstractProvisioningDeviceClient
    ssl_context: ssl.SSLContext | OpenSSL.SSL.Context,
E   TypeError: unsupported operand type(s) for |: 'type' and 'type'

Check failure on line 1 in tests.test_sync_certificate_enrollments

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.azure-iot-sdk-python-dps-e2e

tests.test_sync_certificate_enrollments

collection failure
Raw output
tests/test_sync_certificate_enrollments.py:8: in <module>
    from azure.iot.device import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/__init__.py:9: in <module>
    from .provisioning import *  # noqa: F401, F403
../../../azure-iot-device/azure/iot/device/provisioning/__init__.py:7: in <module>
    from .provisioning_device_client import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/provisioning_device_client.py:16: in <module>
    from .abstract_provisioning_device_client import AbstractProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:77: in <module>
    class AbstractProvisioningDeviceClient(abc.ABC):
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:245: in AbstractProvisioningDeviceClient
    ssl_context: ssl.SSLContext | OpenSSL.SSL.Context,
E   TypeError: unsupported operand type(s) for |: 'type' and 'type'

Check failure on line 1 in tests.test_sync_symmetric_enrollments

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Azure.azure-iot-sdk-python-dps-e2e

tests.test_sync_symmetric_enrollments

collection failure
Raw output
tests/test_sync_symmetric_enrollments.py:8: in <module>
    from azure.iot.device import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/__init__.py:9: in <module>
    from .provisioning import *  # noqa: F401, F403
../../../azure-iot-device/azure/iot/device/provisioning/__init__.py:7: in <module>
    from .provisioning_device_client import ProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/provisioning_device_client.py:16: in <module>
    from .abstract_provisioning_device_client import AbstractProvisioningDeviceClient
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:77: in <module>
    class AbstractProvisioningDeviceClient(abc.ABC):
../../../azure-iot-device/azure/iot/device/provisioning/abstract_provisioning_device_client.py:245: in AbstractProvisioningDeviceClient
    ssl_context: ssl.SSLContext | OpenSSL.SSL.Context,
E   TypeError: unsupported operand type(s) for |: 'type' and 'type'