Print diag after smoke test (#146920)

* smoke - list processes after run

* print more diag on linux

* .
This commit is contained in:
Benjamin Pasero 2022-04-06 16:29:23 +02:00 committed by GitHub
parent 10aa1a013b
commit f4aebbc956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View file

@ -262,6 +262,13 @@ steps:
displayName: Run smoke tests (Remote)
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
ps -ef
displayName: List tasks after smoke test run
continueOnError: true
condition: succeededOrFailed()
- task: PublishPipelineArtifact@0
inputs:
artifactName: crash-dump-macos-$(VSCODE_ARCH)

View file

@ -283,6 +283,15 @@ steps:
displayName: Run smoke tests (Remote)
condition: and(succeeded(), eq(variables['VSCODE_ARCH'], 'x64'), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
ps -ef
cat /proc/sys/fs/inotify/max_user_watches
lsof | wc -l
displayName: Diagnostics after smoke test run (processes, max_user_watches, number of opened file handles)
continueOnError: true
condition: succeededOrFailed()
- task: PublishPipelineArtifact@0
inputs:
artifactName: crash-dump-linux-$(VSCODE_ARCH)

View file

@ -1,3 +1,3 @@
echo "------------------------------------"
tasklist
tasklist /V
echo "------------------------------------"