Skip to content

Commit

Permalink
sudo, get consumer log
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS committed Nov 4, 2024
1 parent 6b2f352 commit 9b4c4e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,18 @@ jobs:
$ManifestPath = ".\src\manifest\MsQuicEtw.man"
wevtutil.exe um $ManifestPath
wevtutil.exe im $ManifestPath /rf:$($MsQuicDll) /mf:$($MsQuicDll)
- name: Stop lttng-sessiond
if: matrix.vec.plat == 'linux'
run: sudo systemctl stop lttng-sessiond
# - name: Stop lttng-sessiond
# if: matrix.vec.plat == 'linux'
# run: sudo systemctl stop lttng-sessiond
- name: Test
if: matrix.vec.os == 'WinServerPrerelease'
shell: pwsh
timeout-minutes: 120
run: scripts/test.ps1 -Config ${{ matrix.vec.config }} -Arch ${{ matrix.vec.arch }} -Tls ${{ matrix.vec.tls }} -GHA -LogProfile Full.Light -GenerateXmlResults ${{ matrix.vec.xdp }} ${{ matrix.vec.qtip }}
- name: Test
if: matrix.vec.os != 'WinServerPrerelease'
shell: pwsh
timeout-minutes: 120
run: scripts/test.ps1 -Config ${{ matrix.vec.config }} -Arch ${{ matrix.vec.arch }} -Tls ${{ matrix.vec.tls }} -OsRunner ${{ matrix.vec.os }} -GHA -LogProfile Full.Light -GenerateXmlResults ${{ matrix.vec.xdp }} ${{ matrix.vec.qtip }} -Filter "*UdpBind*"
run: sudo pwsh ./scripts/test.ps1 -Config ${{ matrix.vec.config }} -Arch ${{ matrix.vec.arch }} -Tls ${{ matrix.vec.tls }} -OsRunner ${{ matrix.vec.os }} -GHA -LogProfile Full.Light -GenerateXmlResults ${{ matrix.vec.xdp }} ${{ matrix.vec.qtip }} -Filter "*UdpBind*"
- name: Upload on Failure
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion scripts/log.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function Log-Start {
lttng -q create msquiclive --live
} else {
New-Item -Path $TempLTTngDir -ItemType Directory -Force | Out-Null
lttng-sessiond -v > ${TempLTTngDir}/lttng.log 2>&1 &
lttng-sessiond --verbose --verbose-consumer > ${TempLTTngDir}/lttng.log 2>&1 &
sleep 2
$Command = "lttng create $InstanceName -o=$TempLTTngDir"
Invoke-Expression $Command | Write-Debug
Expand Down

0 comments on commit 9b4c4e9

Please sign in to comment.