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

Create API Review step is failing in pipeline runs due to linker command failed with exit code 1107 #4275

Closed
ahsonkhan opened this issue Jan 26, 2023 · 2 comments
Labels
EngSys This issue is impacting the engineering system.

Comments

@ahsonkhan
Copy link
Member

Recent CI and nightly runs are failing with warnings and errors more frequently than before. One contributing factor is APIView related errors and warnings.

PowerShell exited with code '1'.
Build • Create API Review for azure-core • Create API Review for azure-core

For example:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2139473&view=logs&j=a5b8631f-d2a8-5bf4-c5b7-ed5dd46e146c&t=e1b0a0cf-6330-5d90-93da-5076ba54d894

clang++: error: linker command failed with exit code 1107 (use -v to see invocation)
Exception details: StatusCode: 413, ReasonPhrase: 'Payload Too Large', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:

This isn't unique to Core. We see other errors for service SDKs, like Attestation:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2139476&view=logs&j=a5b8631f-d2a8-5bf4-c5b7-ed5dd46e146c&t=e1b0a0cf-6330-5d90-93da-5076ba54d894&l=51

clang++ D:\a_work\1\s\sdk\attestation\azure-security-attestation\inc\ApiViewSettings.json D:\a_work\1\s\sdk\attestation\azure-...
clang++: error: linker command failed with exit code 1107 (use -v to see invocation)
Exception details: StatusCode: 524, ReasonPhrase: '', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:

It would be useful to output more diagnostic information to the console to debug reasons for such error conditions.

There is another warning in the Dump Package properties step:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=2140048&view=logs&j=a5b8631f-d2a8-5bf4-c5b7-ed5dd46e146c&t=d7f7b61a-6ffa-5531-6b02-f2d4db7c9f77&l=15

##[warning]Failed to retrieve package version for 'core/perf'. No version file found.

Here are the recent public and internal cpp - core pipelines.

https://dev.azure.com/azure-sdk/public/_build?definitionId=1614&_a=summary

image

https://dev.azure.com/azure-sdk/internal/_build?definitionId=1615&_a=summary

image

@LarryOsterman, @danieljurek, @RickWinter

@RickWinter
Copy link
Member

@ahsonkhan I have not seen this failure recently. Is this still an issue or can this be closed?

/cc: @LarryOsterman

@ahsonkhan
Copy link
Member Author

Yeah, seems like it has been fixed, looking at recent runs like these:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2819764&view=logs&j=35d7e651-8a8e-56d5-4b64-d16694245812&t=faf6fff4-92e8-51af-9fb2-08b78942373f

I am not sure what fixed it though, maybe #4521?

@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
EngSys This issue is impacting the engineering system.
Projects
None yet
Development

No branches or pull requests

2 participants