Remote error from secret service
flopik3-5 opened this issue · comments
Description
I am getting the following error:
2022-07-12T05:34:05.9096872Z ##[command]Import-Module -Name /usr/share/az_7.5.0/Az.Accounts/2.9.0/Az.Accounts.psd1 -Global
2022-07-12T05:34:07.3698073Z ** Message: 05:34:07.369: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
2022-07-12T05:34:07.3761596Z ** Message: 05:34:07.375: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
2022-07-12T05:34:07.3794092Z ** Message: 05:34:07.379: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
When trying to upload files to Azure Storage using powershell script. After agent's image update.
Platforms affected
- Azure DevOps
- GitHub Actions
Virtual environments affected
- Ubuntu 18.04
- Ubuntu 20.04
- Ubuntu 22.04
- macOS 10.15
- macOS 11
- macOS 12
- Windows Server 2019
- Windows Server 2022
Image version and build link
20220710.1
Is it regression?
20220626.1
Expected behavior
Remote error from secret service is not appears
Actual behavior
Remote error from secret service is appears
Repro steps
$storage = Get-AzStorageAccount -ResourceGroupName "$(resourceGroup)" -Name "$(storageName)"
...
Set-AzStorageBlobContent -Container $containerName -Blob $fileName -File $filePath -Context $storage.Context -Force
External bug - Azure/azure-powershell#14207. Our recommendation is to start migration on Ubuntu 20.04.
Hi @al-cheb , I'm from Azure PowerShell team. We hit this problem on Ubuntu 18.04 , image version: 20220710.1 while on image version 20220626.1, commands just warn these messages instead of throwing error.
- Do you have any idea about the changes between these two image versions?
- could you guide us to build these virtual environment on our local so that we can reproduce this issue? Tested on VM with Ubuntu 18.04, not found this issue.
Hey @BethanyZhou, how to generate images you can find in this doc - https://github.com/actions/virtual-environments/blob/main/docs/create-image-and-azure-resources.md. Another way is to connect to a GitHub runner via ssh using this debugging-with-tmate task:
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3