Commit b002b82
Fix ASP.NET workloads crashing on Windows due to Linux-only process commands (#732)
* Fix ASP.NET workloads crashing on Windows due to Linux-only process commands
AspNetServerExecutor and AspNetOrchardServerExecutor unconditionally invoked the
Unix-only commands pkill and fuser (and, for Orchard, nohup). On Windows these
fail to start (''The system cannot find the file specified''), so the workload
crash-loops until VC hits its restart-on-crash cap and the experiment fails --
despite SupportedPlatforms declaring win-x64/win-arm64.
Replace them with platform-aware branches: keep pkill/fuser/nohup on Unix and use
taskkill (and a direct server-executable launch for Orchard) on Windows. Update
the Windows unit tests accordingly; the Linux tests are unchanged.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Document ASP.NET workload platform support
Clarify that the Bombardier-based profile runs on Windows and Linux while the
Wrk-based profiles are Linux-only (Wrk has no Windows build), which matches the
now-functional cross-platform server executors.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Bump version to 3.3.9
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: alexwill <alexwill@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3e420a6 commit b002b82
6 files changed
Lines changed: 62 additions & 16 deletions
File tree
- src/VirtualClient
- VirtualClient.Actions.UnitTests/AspNetBench
- VirtualClient.Actions/ASPNET
- website/docs/workloads/aspnetbench
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
111 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
Lines changed: 26 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
359 | 371 | | |
360 | 372 | | |
361 | 373 | | |
| |||
368 | 380 | | |
369 | 381 | | |
370 | 382 | | |
371 | | - | |
372 | 383 | | |
373 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
374 | 396 | | |
375 | 397 | | |
376 | 398 | | |
| |||
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
370 | 377 | | |
371 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
372 | 384 | | |
373 | 385 | | |
374 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
| |||
0 commit comments