Closed
Bug 1334448
Opened 8 years ago
Closed 8 years ago
Intermittent remoteautomation.py | application crashed [@ xpc::CrashIfNotInAutomation]
Categories
(Testing Graveyard :: Autophone, defect)
Testing Graveyard
Autophone
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: bulk-close-intermittents, intermittent-failure)
Filed by: cbook [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=72416166&repo=mozilla-central
https://autophone.s3.amazonaws.com/v1/task/WVSJstzES1aVASkjVtwOeQ/runs/0/artifacts/public/build/reftest-webm-video-reftests-webm-video.ini-1-nexus-4-7-3faff205-c60c-4fc6-95d0-aa7f66555dbb.log
Comment 1•8 years ago
|
||
http://searchfox.org/mozilla-central/source/js/xpconnect/src/xpcprivate.h#3166
inline void
CrashIfNotInAutomation()
{
MOZ_RELEASE_ASSERT(IsInAutomation());
}
http://searchfox.org/mozilla-central/source/js/xpconnect/src/xpcpublic.h#656
inline bool
IsInAutomation()
{
const char* prefName =
"security.turn_off_all_security_so_that_viruses_can_take_over_this_computer";
return mozilla::Preferences::GetBool(prefName) &&
AreNonLocalConnectionsDisabled();
}
This will be false if the pref isn't set or if we don't have non local connections disabled.
security.turn_off_all_security_so_that_viruses_can_take_over_this_computer is set at http://searchfox.org/mozilla-central/source/testing/profiles/prefs_general.js#145
http://searchfox.org/mozilla-central/source/js/xpconnect/src/xpcpublic.h#640
inline bool
AreNonLocalConnectionsDisabled()
{
static int disabledForTest = -1;
if (disabledForTest == -1) {
char *s = getenv("MOZ_DISABLE_NONLOCAL_CONNECTIONS");
if (s) {
disabledForTest = *s != '0';
} else {
disabledForTest = 0;
}
}
return disabledForTest;
}
It seems more likely that the prefs haven't been pushed to the device and that the environment variable has been set.
My assumption would be this is an intermittent failure to push the profile to the device.
Component: General → Autophone
Product: Core → Testing
Status: NEW → RESOLVED
Closed: 8 years ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•