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

[Digital Twins - Core] DigitalTwins - create, read, update, delete and telemetry operations > query digital twin failing in nightly runs #32322

Open
jerryshia opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Digital Twins test-reliability Issue that causes tests to be unreliable

Comments

@jerryshia
Copy link
Member

Digital Twins - Core nightly test runs are failing with:

Error message:
Twin DTRelationshipsTestsBuildingTwin has active relationships. Cannot delete a twin unless all the relationships are deleted. Please ensure that the active relationships on the twin are deleted. See section on retrieving relationships https://aka.ms/adtv2twins.

Stack trace:
RestError: Twin DTRelationshipsTestsBuildingTwin has active relationships. Cannot delete a twin unless all the relationships are deleted. Please ensure that the active relationships on the twin are deleted. See section on retrieving relationships https://aka.ms/adtv2twins.
❯ handleErrorResponse ../../core/core-client/src/deserializationPolicy.ts:255:17
❯ deserializeResponseBody ../../core/core-client/src/deserializationPolicy.ts:159:43

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'RelationshipsNotDeleted', statusCode: 400, request: { url: 'https://t122cdb46f60e4f29.api.wus2.digitaltwins.azure.net/digitaltwins/DTRelationshipsTestsBuildingTwin?api-version=2020-10-31', body: undefined, headers: { accept: 'application/json', 'accept-encoding': 'gzip,deflate', 'user-agent': 'azsdk-js-digital-twins-core/2.0.0 core-rest-pipeline/1.18.2 Node/18.20.5 OS/(x64-Windows_NT-10.0.20348)', 'x-ms-client-request-id': 'ed87d6a9-11d0-4659-a870-3f3041f741c4', authorization: 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6InoxcnNZSEhKOS04bWdndDRIc1p1OEJLa0JQdyIsImtpZCI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6r7I05nDoS4erRxqtGRp3z2_ArsLWm-AlMrVFbxAdIZ8mugIm4JqhbcalMHTaz4H_UZBl9b6iamc4CbusP8HJh316vIFVj7t3z7eJ18xs_N8mzqoRYED9u8vLagr8zndti-tWxh3gbcvBnXUw' }, method: 'DELETE', timeout: +0, multipartBody: undefined, formData: undefined, disableKeepAlive: false, proxySettings: undefined, streamResponseStatusCodes: { constructor: 'Function', has: 'Function', add: 'Function', delete: 'Function', clear: 'Function', entries: 'Function', forEach: 'Function', size: +0, values: 'Function', keys: 'Function' }, withCredentials: false, abortSignal: undefined, tracingOptions: { tracingContext: { _contextMap: { constructor: 'Function', get: 'Function', set: 'Function', has: 'Function', delete: 'Function', clear: 'Function', entries: 'Function', forEach: 'Function', keys: 'Function', size: 1, values: 'Function' }, constructor: 'Function', setValue: 'Function', getValue: 'Function', deleteValue: 'Function' } }, onUploadProgress: undefined, onDownloadProgress: undefined, requestId: 'ed87d6a9-11d0-4659-a870-3f3041f741c4', allowInsecureConnection: false, enableBrowserStreams: false, constructor: 'Function' }, response: { status: 400, headers: { 'content-length': '319', 'content-type': 'application/json; charset=utf-8', 'strict-transport-security': 'max-age=2592000', traceresponse: '00-df0c8d8d921eb9fb0021fa51ba722390-c83eb58106ed47fb-01', 'mise-correlation-id': '0ef14f0d-de89-433b-8c24-c141cb8346d8', 'x-ms-error-code': 'RelationshipsNotDeleted', date: 'Thu, 19 Dec 2024 10:33:58 GMT' }, request: { url: 'https://t122cdb46f60e4f29.api.wus2.digitaltwins.azure.net/digitaltwins/DTRelationshipsTestsBuildingTwin?api-version=2020-10-31', body: undefined, headers: { ac

For more details check here:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4423034&view=results

@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 20, 2024
@v-xuto v-xuto added Client This issue points to a problem in the data-plane of the library. Digital Twins test-reliability Issue that causes tests to be unreliable and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Digital Twins test-reliability Issue that causes tests to be unreliable
Projects
None yet
Development

No branches or pull requests

3 participants