Run Katalon Test in Azure pipeline

I am trying to run API test using Azure DevOps extension in Azure DevOps pipeline. I use Microsoft hosted Ubuntu-20.04. The pipeline yaml is something like:


  • job: Katalon_API_Test
    displayName: ‘Katalon API Test’
    vmImage: ‘ubuntu-20.04’

    • task: katalonTask@1
      version: ‘8.6.6’
      executeArgs: ‘-noSplash -runMode=console -retry=0 -testSuiteCollectionPath=“Test Suites/stable_test” -executionProfile=“dev” -browserType=“Web Service” -apiKey=“xxxxx” --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true’
      xvfbConfiguration: ‘-a -n 0 -s “-screen 0 1024x768x24”’

The task fails with error like:
(katalonc:1815): dbind-WARNING **: 23:08:18.853: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files.

Can somebody tell me how to fix it?

1 Like

Please installed ‘at-spi2-core’
Run below command
sudo apt-get install at-spi2-core

and Run again

OK. at-spi2-core - accessibility package. I will give it a try. Apparently regular Microsoft hosed Ubuntu agent doesn’t have this package. Thanks for the tip!

1 Like