Azure / Azure/azure-sdk-tools

LintDiffToolException with code: ERESOLVER

Open
#7,781 0 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
143

Description

https://github.com/Azure/azure-rest-api-specs-pr/pull/17064/checks?check_run_id=22058431568

```
"details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.83/common/temp/node_modules/.pnpm/https://github.com/APIDevTools+json-schema-ref-parser@9.1.2/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
"code":"ERESOLVER",
"message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json\"",
"source":"/mnt/vss/_work/1/azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json",
"path":null,
"name":"ResolverError",
"footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json\"""
```

- [Raw log](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3535558&view=logs&j=0574a2a6-2d0a-5ec6-40e4-4c6e2f70bea2&t=80c3e782-49f0-5d1c-70dd-cbee57bdd0c7&l=103)

- [Teams discussion](https://teams.microsoft.com/l/message/19:4f661242c446452e895359cc3ef45125@thread.tacv2/1709085614144?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=0cab4ce9-7691-42ae-82e3-460d4346a710&parentMessageId=1709085614144&teamName=ARM%20API%20Reviewers&channelName=ARM%20linter%20rules&createdTime=1709085614144)

The error pertains to:

```
azure-rest-api-specs-pr/specification/azurestackhci/resource-manager/Private.AzureStackHCI/common-types/resource-management/v3/types.json
```

but this file does not seem to exist, not in the PR, nor in the repo

https://github.com/shraddhasun/azure-rest-api-specs-pr/tree/RPSaaSDev/specification/azurestackhci/resource-manager/Private.AzureStackHCI
![image](https://github.com/Azure/azure-sdk-tools/assets/4429827/e65efc4d-bdde-4bb6-83ec-ff01a05a5088)

https://github.com/azure/azure-rest-api-specs-pr/tree/RPSaaSDev/specification/azurestackhci/resource-manager/Private.AzureStackHCI
![image](https://github.com/Azure/azure-sdk-tools/assets/4429827/a251ea02-7ee6-4020-840d-573e2a1df669)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.