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

OSX infra issue - prereq check for 'pkg-config' missing #82240

Closed
steveharter opened this issue Feb 16, 2023 · 7 comments · Fixed by #82263
Closed

OSX infra issue - prereq check for 'pkg-config' missing #82240

steveharter opened this issue Feb 16, 2023 · 7 comments · Fixed by #82263
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' blocking-official-build os-mac-os-x macOS aka OSX

Comments

@steveharter
Copy link
Member

steveharter commented Feb 16, 2023

Library + OSX tests failing with this:

  __DistroRid: osx-x64
  Setting up directories for build
  Checking prerequisites...
  Please install pkg-config before running this script, see https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/macos-requirements.md

See errors on #81006

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Please install pkg-config before running this script",
  "BuildRetry": false
}

Report

Build Definition Step Name Console log Pull Request
175172 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #81867
179215 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82432
179276 dotnet/runtime Build product Log #82433
179273 dotnet/runtime Build product Log #82433
175441 dotnet/runtime Prepare TestHost with runtime Mono Log #82268
175444 dotnet/runtime Build product Log #82268
168759 dotnet/runtime Build product Log #82005
176245 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82192
176254 dotnet/runtime Build product Log #82192
174792 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82254
175734 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82292
175724 dotnet/runtime Prepare TestHost with runtime Mono Log #81319
175707 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82249
175737 dotnet/runtime Build product Log #82292
175733 dotnet/runtime Build product Log #81164
175727 dotnet/runtime Build product Log #81319
175710 dotnet/runtime Build product Log #82249
175646 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82086
175665 dotnet/runtime Build product Log #81319
175661 dotnet/runtime Build product Log #82287
175600 dotnet/runtime Prepare TestHost with runtime Mono Log #82253
175588 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82285
175582 dotnet/runtime Prepare TestHost with runtime CoreCLR Log
175621 dotnet/runtime Build product Log #81319
175607 dotnet/runtime Build product Log #81969
175603 dotnet/runtime Build product Log #82253
175567 dotnet/runtime Prepare TestHost with runtime CoreCLR Log
174946 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82235
175539 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82284
175543 dotnet/runtime Build product Log
175520 dotnet/runtime Build product Log #82222
175490 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82181
175483 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #80960
175479 dotnet/runtime Prepare TestHost with runtime Mono Log #82282
175493 dotnet/runtime Build product Log #82181
175460 dotnet/runtime Prepare TestHost with runtime Mono Log #82281
175482 dotnet/runtime Build product Log #82282
175420 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82222
175463 dotnet/runtime Build product Log #82281
175045 dotnet/runtime Prepare TestHost with runtime Mono Log #82264
175318 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82276
175325 dotnet/runtime Prepare TestHost with runtime Mono Log #82277
175251 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82255
175228 dotnet/runtime Prepare TestHost with runtime Mono Log #80297
175193 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #81518
175165 dotnet/runtime Prepare TestHost with runtime Mono Log #82270
175231 dotnet/runtime Build product Log #80297
175139 dotnet/runtime Prepare TestHost with runtime Mono Log #82268
175196 dotnet/runtime Build product Log #81518
175175 dotnet/runtime Build product Log #81867
175168 dotnet/runtime Build product Log #82270
175085 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82265
175060 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #80539
175142 dotnet/runtime Build product Log #82268
175037 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82206
175027 dotnet/runtime Prepare TestHost with runtime Mono Log #82121
174980 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #80960
174972 dotnet/runtime Prepare TestHost with runtime CoreCLR Log
175040 dotnet/runtime Build product Log #82206
174962 dotnet/runtime Prepare TestHost with runtime Mono Log #82261
175030 dotnet/runtime Build product Log #82121
174934 dotnet/runtime Prepare TestHost with runtime Mono Log #82259
174906 dotnet/runtime Prepare TestHost with runtime CoreCLR Log
174879 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #81518
174826 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #80635
174928 dotnet/runtime Build product Log #82179
174788 dotnet/runtime Prepare TestHost with runtime Mono Log #82253
174882 dotnet/runtime Build product Log #81518
174771 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82246
174767 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82245
174535 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #81006
174538 dotnet/runtime Build product Log #81006
174742 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82250
174732 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #80960
174706 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82221
174813 dotnet/runtime Build product Log
174711 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82249
174791 dotnet/runtime Build product Log #82253
174670 dotnet/runtime Prepare TestHost with runtime Mono Log #82238
174779 dotnet/runtime Build product Log #82248
174775 dotnet/runtime Build product Log #82246
174776 dotnet/runtime Build product Log #82248
174770 dotnet/runtime Build product Log #82245
174745 dotnet/runtime Build product Log #82250
174652 dotnet/runtime Prepare TestHost with runtime Mono Log #79790
174666 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82183
174656 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #81063
174661 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82244
174517 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82184
174714 dotnet/runtime Build product Log #82249
174709 dotnet/runtime Build product Log #82221
174503 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82086
174673 dotnet/runtime Build product Log #82238
174646 dotnet/runtime Build product Log #82242
174655 dotnet/runtime Build product Log #79790
174649 dotnet/runtime Build product Log #82242
174584 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82148
174576 dotnet/runtime Prepare TestHost with runtime Mono Log #81319
174550 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82223
174555 dotnet/runtime Prepare TestHost with runtime CoreCLR Log #82190
Displaying 100 of 104 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 104
@ghost
Copy link

ghost commented Feb 16, 2023

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Library + OSX tests failing with this:

  __DistroRid: osx-x64
  Setting up directories for build
  Checking prerequisites...
  Please install pkg-config before running this script, see https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/macos-requirements.md

See errors on #81006

Author: steveharter
Assignees: -
Labels:

area-Infrastructure

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 16, 2023
@steveharter steveharter added os-mac-os-x macOS aka OSX blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Feb 16, 2023
@am11
Copy link
Member

am11 commented Feb 16, 2023

24-Hour Hit Count: 4
1-Month Count: 4

@akoeplinger, wdyt? It seems like the new osx machines don't have prereqs installed. In principle, to be self-sufficient, all osx-like jobs should be running the installation script, which invokes

brew "pkg-config"

we probably have some gaps:

$ git grep install-native-dependencies.sh -- ':/eng/pipelines'
eng/pipelines/common/global-build-job.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
eng/pipelines/common/templates/runtimes/build-test-job.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
eng/pipelines/coreclr/templates/build-jit-job.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
eng/pipelines/coreclr/templates/build-job.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
eng/pipelines/installer/jobs/build-job.yml:        - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
eng/pipelines/libraries/build-job.yml:          - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
eng/pipelines/mono/templates/build-job.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)
eng/pipelines/mono/templates/generate-offsets.yml:      - script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh $(osGroup)

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 16, 2023
@hoyosjs hoyosjs added blocking-official-build and removed untriaged New issue has not been triaged by the area owner labels Feb 17, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 17, 2023
@akoeplinger
Copy link
Member

This was caused by a change in the macOS machines in the AzDO Hosted Pool, it also broke other projects: actions/runner-images#7125

@carlossanlop
Copy link
Member

Thanks for fixing this, @am11!

@vcsjones
Copy link
Member

Re-opening because I think these fixes need to be back ported to release/6.0 and release/7.0. I'm still seeing failures there.

@vcsjones vcsjones reopened this Feb 17, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 17, 2023
@akoeplinger
Copy link
Member

akoeplinger commented Feb 21, 2023

Backports to 6.0/7.0 are open in #82322 and #82323.

@am11
Copy link
Member

am11 commented Mar 9, 2023

Backkport PRs are merged now.

@am11 am11 closed this as completed Mar 9, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Mar 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' blocking-official-build os-mac-os-x macOS aka OSX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants