Azure / azure-media-migration

Azure Media Migration Tool
https://github.com/Azure/azure-media-migration
MIT License
11 stars 15 forks source link

AMSMigrate hangs on WSL2 (on logging?) #170

Closed pohhsu closed 1 year ago

pohhsu commented 1 year ago

Running this command on WSL2

/home/pohhsu/z/azure-media-migration/bin/Debug/net6.0/AMSMigrate assets -s b2c12710-ecdf-4532-9ba6-7e74a219b5f2 -g pohhsuTest -n pohhsumediaservice --break-output-lease --skip-migrated false --working-dir /home/pohhsu/test/working -t "test/tmp_linux/\${AssetName}" -o https://pohhsustoragetest.blob.core.windows.net

hangs after a while,

[14:17:41 DBG] Migrated asset: onznet-a6634ccfb6-StandardEncoder-H264MultipleBitrate720p-f352417873, container:
asset-c47c7c58-fdf8-4609-bb4f-47b6fa1dacf1, type: mp4-v3, status: Completed0:04:54 ⣽
[14:17:42 INF] Migrating asset: 0365video-03f3f58678-StandardEncoder-H265ContentAwareEncoding-042d34d192
(container asset-751c816a-0b82-4914-ac1d-832d28e759b4) .../24 Assets  20% 00:04:54 ⣯
[14:17:47 DBG] Begin downloading O365Video_Azure1080p_1280x720_AACAudio_246.mp4
[14:17:47 DBG] Begin downloading O365Video_Azure1080p_1920x1080_AACAudio_490.mp4
[14:17:48 DBG] Finished download of O365Video_Azure1080p_1920x1080_AACAudio_490.mp4
[14:17:48 DBG] Finished download of O365Video_Azure1080p_1280x720_AACAudio_246.mp4
[14:17:48 DBG] Starting packager /home/pohhsu/z/azure-media-migration/bin/Debug/net6.0/packager-linux-x64...

Asset Migration ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16/24 Assets  66% 00:25:02 ⣾

attached debugger, it seems it is stuck in logging...

image

pohhsu commented 1 year ago

From testing with the latest build on WSL2, I can still repro...