jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/366908 )

Change subject: android: drop -no-audio
......................................................................


android: drop -no-audio

When not using the classic engine the emulator errors out with:

  qemu-system-i386: -audio: invalid option

The reason is QEMU2 replaced -audio with -soundhw. A workaround is to
configure QEMU2 via the environment variable: QEMU_AUDIO_DRV=none

Stop passing -no-audio to the emulator.
Add a job parameter QEMU_AUDIO_DRV=none

Note, we already:

  [android] Setting hardware properties:
    hw.audioInput: False

Reference:
https://stackoverflow.com/questions/40272884/running-android-emulator-with-noaudio-option-returns-qemu-system-i386-exe-au

Bug: T150623
Change-Id: I822057a37693735a1ccfeccc0fd23bb182c7b101
---
M jjb/mobile.yaml
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified
  Mholloway: Looks good to me, but someone else must approve



diff --git a/jjb/mobile.yaml b/jjb/mobile.yaml
index 135dff1..fa781d9 100644
--- a/jjb/mobile.yaml
+++ b/jjb/mobile.yaml
@@ -70,6 +70,10 @@
      - string:
          name: 'DISPLAY'
          default: ':95'
+     # QEMU2 no more recognizes -no-audio
+     - string:
+         name: 'QEMU_AUDIO_DRV'
+         default: 'none'
     scm:
      - git:
         url: https://phabricator.wikimedia.org/diffusion/APAW
@@ -83,7 +87,7 @@
          screen-density: 240
          target-abi: x86
          show-window: true
-         commandline-options: -no-window -no-audio -no-boot-anim
+         commandline-options: -no-window -no-boot-anim
          hardware-properties:
             # Required for emulators to terminate: 
https://wiki.jenkins-ci.org/display/JENKINS/Android+Emulator+Plugin#AndroidEmulatorPlugin-Knownissues
             hw.audioInput: no

-- 
To view, visit https://gerrit.wikimedia.org/r/366908
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I822057a37693735a1ccfeccc0fd23bb182c7b101
Gerrit-PatchSet: 4
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Mholloway <[email protected]>
Gerrit-Reviewer: Niedzielski <[email protected]>
Gerrit-Reviewer: Paladox <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to