Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android-x86 test job sometimes fails during startup #21205

Open
jdm opened this issue Jul 18, 2018 · 1 comment
Open

android-x86 test job sometimes fails during startup #21205

jdm opened this issue Jul 18, 2018 · 1 comment

Comments

@jdm
Copy link
Member

@jdm jdm commented Jul 18, 2018

xcb_connection_has_error() returned true
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver

command timed out: 1200 seconds without output running ['env', '--unset', 'ANDROID_NDK', '--unset', 'ANDROID_SDK', './mach', 'test-android-startup', '--release'], attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1200.232570
@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Jul 18, 2018

For comparison, this is the output of a successful run as it appears in http://build.servo.org/builders/android-x86/builds/63/steps/test/logs/stdio :

xcb_connection_has_error() returned true
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mozilla.servo/.MainActivity }
Assuming --target i686-linux-android
Success
--------- beginning of system
--------- beginning of main
Entering android_main
Creating application thread
JavaScript is running!
emulator: Requested console port 5580: Inferring adb port 5581.
emulator: Cold boot: requested by the user
emulator: INFO: boot completed
emulator: Discarding the changed state: command-line flag
emulator: WARNING: Discarding the changed state (command-line flag).

The relative order of stdout lines v.s. stderr lines is messed up, this is what it looks like when running through SSH:

Assuming --target i686-linux-android
emulator: Requested console port 5580: Inferring adb port 5581.
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
emulator: Cold boot: requested by the user
emulator: INFO: boot completed
Success
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mozilla.servo/.MainActivity }
--------- beginning of system
--------- beginning of main
Entering android_main
Creating application thread
JavaScript is running!
emulator: Discarding the changed state: command-line flag
emulator: WARNING: Discarding the changed state (command-line flag).

Either way, the PulseAudio-related error messages are present there too so they’re probably not relevant to this failure.

What’s notable in that failed run is the absence of INFO: boot completed or Cold boot: requested by the user. It looks like the emulator is starting, but the emulated system is not for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.