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

[WebToolsE2E][Aspire][Mac] When we dotnet run Aspire 9.1 project using CLI, there is an error "fail: Aspire.Hosting.Dcp.dcp[0] Could not get process start time" #7187

Open
Rita003 opened this issue Jan 21, 2025 · 3 comments
Labels
area-orchestrator untriaged New issue has not been triaged

Comments

@Rita003
Copy link

Rita003 commented Jan 21, 2025

REGRESSION INFO: Work in Aspire 9.0.0

INSTALL STEPS

  1. Clean machine: Mac OS
  2. Install SDK 9.0.102
  3. Install latest Aspire 9.1.0-preview.1.25070.5
    • Apply dotnet9 feed

REPRO STEPS

  1. Open CMD, create an Aspire project using following commands:
dotnet new aspire -o Aspire1
cd Aspire1/Aspire1.AppHost
  1. Dotnet run the project in CMD, and open URL in the browser.
    dotnet run

Note:

  1. This issue doesn't repro on Windows

ACTUAL
There is an error in CMD
Image

Error log:

fail: Aspire.Hosting.Dcp.dcp[0]
      Could not get process start time, could not read "/proc": stat /proc: no such file or directory
@davidfowl
Copy link
Member

This shows up all of the time now. @danegsta does it make sense to log this?

@balachir balachir changed the title [WebToolsE2E][Aspire][Mac] After installing the latest Aspire 9.1.0-preview.1.25070.5, there is an error "fail: Aspire.Hosting.Dcp.dcp[0] Could not get process start time" in CMD when running Aspire project. [WebToolsE2E][Aspire][Mac] When dotnet run Aspire 9.1 project using CLI, there is an error "fail: Aspire.Hosting.Dcp.dcp[0] Could not get process start time" Jan 21, 2025
@balachir balachir changed the title [WebToolsE2E][Aspire][Mac] When dotnet run Aspire 9.1 project using CLI, there is an error "fail: Aspire.Hosting.Dcp.dcp[0] Could not get process start time" [WebToolsE2E][Aspire][Mac] When we dotnet run Aspire 9.1 project using CLI, there is an error "fail: Aspire.Hosting.Dcp.dcp[0] Could not get process start time" Jan 21, 2025
@karolz-ms
Copy link
Member

I saw this the other day and did not get to investigate deeply, but it seemed like the error wasn't coming from DCP code, but from some K8s library that (mistakenly) was assuming existence of Linux /proc pseudo-filesystem when running on a Mac...

@karolz-ms
Copy link
Member

Most likely https://github.com/kubernetes/component-base/blob/v0.29.1/metrics/processstarttime.go#L40. Looks harmless except for noise in Aspire logs.

@joperezr joperezr added the untriaged New issue has not been triaged label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-orchestrator untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

4 participants