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 6af51a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ 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
Expand All @@ -169,7 +169,7 @@ jobs:
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 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 6af51a3

Please sign in to comment.