Skip to content

Commit 9b4c4e9

Browse files
committed
sudo, get consumer log
1 parent 6b2f352 commit 9b4c4e9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/test.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -157,19 +157,18 @@ jobs:
157157
$ManifestPath = ".\src\manifest\MsQuicEtw.man"
158158
wevtutil.exe um $ManifestPath
159159
wevtutil.exe im $ManifestPath /rf:$($MsQuicDll) /mf:$($MsQuicDll)
160-
- name: Stop lttng-sessiond
161-
if: matrix.vec.plat == 'linux'
162-
run: sudo systemctl stop lttng-sessiond
160+
# - name: Stop lttng-sessiond
161+
# if: matrix.vec.plat == 'linux'
162+
# run: sudo systemctl stop lttng-sessiond
163163
- name: Test
164164
if: matrix.vec.os == 'WinServerPrerelease'
165165
shell: pwsh
166166
timeout-minutes: 120
167167
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 }}
168168
- name: Test
169169
if: matrix.vec.os != 'WinServerPrerelease'
170-
shell: pwsh
171170
timeout-minutes: 120
172-
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*"
171+
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*"
173172
- name: Upload on Failure
174173
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
175174
if: failure()

scripts/log.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function Log-Start {
237237
lttng -q create msquiclive --live
238238
} else {
239239
New-Item -Path $TempLTTngDir -ItemType Directory -Force | Out-Null
240-
lttng-sessiond -v > ${TempLTTngDir}/lttng.log 2>&1 &
240+
lttng-sessiond --verbose --verbose-consumer > ${TempLTTngDir}/lttng.log 2>&1 &
241241
sleep 2
242242
$Command = "lttng create $InstanceName -o=$TempLTTngDir"
243243
Invoke-Expression $Command | Write-Debug

0 commit comments

Comments
 (0)