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

[DRAFT] PR to diagnose remote mac testing problems. #21206

Draft
wants to merge 36 commits into
base: net9.0
Choose a base branch
from

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    8894f77 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Bump

    rolfbjarne committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    38c3d47 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. bump

    rolfbjarne committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    78116d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ddc4d7f View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    b9e214b View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Bump

    rolfbjarne committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    8f268a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Bump

    rolfbjarne committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    1c604f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59410a8 View commit details
    Browse the repository at this point in the history
  3. Disable/reenable agents using dynamically obtained access token (#21216)

    Replace `MacPoolAccessToken` with a dynamically obtained Azure DevOps
    access token. The `MacPoolAccessToken` is backed by the
    `botdeploy--azdo--token--register--untrusted` secret, which is limited
    to a 7-day lifespan. This change removes the dependency on that token
    mjbond-msft authored and rolfbjarne committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b1d60dd View commit details
    Browse the repository at this point in the history
  4. Migrate Messaging Build agent to .NET 8

    This is part of the effort to migrate the Pair to Mac agents .NET.
    
    As the Xamarin.iOS.Tasks.Windows project targets netstandard2.0, I'm
    removing the Build agent reference, and modifying the Makefile to take
    it from it's output directory. Note: the agent zip file is generated in
    the intermediate output directory.
    
    ---------
    
    Co-authored-by: Alex Soto <[email protected]>
    Co-authored-by: Mauro Agnoletti <[email protected]>
    Co-authored-by: Rolf Bjarne Kvinge <[email protected]>
    4 people committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    aef7387 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. [msbuild] Allow the remote Build process to run on newer .NET version…

    …s than the one it was built for.
    rolfbjarne committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d08dc2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bae6abe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    550aad1 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Verbose

    rolfbjarne committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    f8b3cc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3216151 View commit details
    Browse the repository at this point in the history
  3. Bump

    rolfbjarne committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    733160e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5628f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. BUmp

    rolfbjarne committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    4cfd9d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    9ef843e View commit details
    Browse the repository at this point in the history
  2. Add debug spew.

    rolfbjarne committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    cae9bcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d563a40 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    fc36956 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Debug spew

    rolfbjarne committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    fe2308e View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. [msbuild] Fix Ditto task.

    rolfbjarne committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    7e8aa48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2760f27 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. More logging

    rolfbjarne committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f81f831 View commit details
    Browse the repository at this point in the history
  2. Bump

    rolfbjarne committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a93bbc1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68c1bca View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. [build] Shutdown/kill any build servers at the end of the build. (#21315

    )
    
    This is a log from our bots, note the 14 minute gap just before printing the timing results:
    
    ```
    [...]
    2024-09-27T07:34:00.3958920Z Making install in dotnet
    2024-09-27T07:34:01.7633820Z Validated file permissions for Xamarin.Mac.
    2024-09-27T07:34:01.7800150Z Validated file permissions for Xamarin.iOS.
    2024-09-27T07:34:01.7825300Z
    2024-09-27T07:34:01.7872490Z 	Xamarin.iOS has not been installed into your system by 'make install'
    2024-09-27T07:34:01.7918570Z 	In order to set the currently built Xamarin.iOS as your system version,
    2024-09-27T07:34:01.7965090Z 	execute 'make install-system'.
    2024-09-27T07:34:01.7987920Z
    2024-09-27T07:34:01.8034290Z 	Xamarin.Mac has not been installed into your system by 'make install'
    2024-09-27T07:34:01.8080260Z 	In order to set the currently built Xamarin.Mac as your system version,
    2024-09-27T07:34:01.8126200Z 	execute 'make install-system'.
    2024-09-27T07:34:01.8148530Z
    2024-09-27T07:48:22.3100850Z
    2024-09-27T07:48:22.3102130Z real	15m26.160s
    2024-09-27T07:48:22.3102800Z user	1m4.044s
    2024-09-27T07:48:22.3103270Z sys	0m18.379s
    ```
    
    What happens is this:
    *   We're using parallel make, and parallel make will start a jobserver, managed by file descriptors, where these file descriptors must be closed in all subprocesses for make to realize it's done.
    *   Any 'dotnet build' might start a build server
    *   The build server does not close any file descriptors it may have inherited when daemonizing itself.
    *   Thus the build server (which will still be alive after we're done building here) might have a file descriptor open which make is waiting for.
    *   The proper fix is to fix the build server to close its file descriptors.
    *   The intermediate working is to shut down the build server instead.
    
    This will save 10-15 minutes at the end of every build in the bots.
    rolfbjarne committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    62b3985 View commit details
    Browse the repository at this point in the history
  2. Stack trace

    rolfbjarne committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    198ca61 View commit details
    Browse the repository at this point in the history
  3. More debug spew.

    rolfbjarne committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    ea85e73 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Speed things up a bit.

    rolfbjarne committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    760537e View commit details
    Browse the repository at this point in the history
  2. Fix build.

    rolfbjarne committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f8a39d7 View commit details
    Browse the repository at this point in the history
  3. More debug spew.

    rolfbjarne committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ebcbfa6 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Auto-format source code

    GitHub Actions Autoformatter committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    a3c0110 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2d1968 View commit details
    Browse the repository at this point in the history