Re: Running mochitest on packaged builds with the sandbox

2017-05-10 Thread Alex Gaynor
ever, this is still an option > on the table if a dedicated build and the associated costs is justified. > > > > Cheers, > >- Kearwood “Kip” Gilbert > > > > *From: *Alex Gaynor <agay...@mozilla.com> > *Sent: *May 9, 2017 7:58 AM > *To: *Kearwood Kip Gil

Re: Running mochitest on packaged builds with the sandbox

2017-05-10 Thread Alex Gaynor
After some follow up investigations, it turns out the MacOS tests also rely on this, we just hadn't noticed due to a different bug :-( Short version: Sorry for wasting your time, you can ignore this thread. All the other feedback we've gotten about general sandbox debugging will still be

RE: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Kearwood Kip Gilbert
. Cheers, - Kearwood “Kip” Gilbert From: Alex Gaynor Sent: May 9, 2017 7:58 AM To: Kearwood Kip Gilbert Cc: dev-platform@lists.mozilla.org Subject: Re: Running mochitest on packaged builds with the sandbox Hi, Hmm, VR appears to be an interesting challenge. To expand a bit more on why mochitest

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Gian-Carlo Pascutto
On 08-05-17 19:26, Alex Gaynor wrote: > Hi dev-platform, > > Top-line question: Do you rely on being able to run mochitests from a > packaged build (`--appname`)? It seems our Linux tests do, actually: https://treeherder.mozilla.org/logviewer.html#?job_id=97391302=try

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Nathan Froyd
On Mon, May 8, 2017 at 1:26 PM, Alex Gaynor wrote: > Top-line question: Do you rely on being able to run mochitests from a > packaged build (`--appname`)? I don't think it's a *fundamental* part of development workflows, but I know folks have found value in being able to run

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Ehsan Akhgari
On 05/09/2017 11:02 AM, Alex Gaynor wrote: Hi Ehsan, If we want to dig deeper, let's fork off another thread, but it sounds like there's two action items here: 1) Fix https://bugzilla.mozilla.org/show_bug.cgi?id=1345046 2) Better document how to disable the sandbox for debugging -- where

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Alex Gaynor
Hi Ehsan, If we want to dig deeper, let's fork off another thread, but it sounds like there's two action items here: 1) Fix https://bugzilla.mozilla.org/show_bug.cgi?id=1345046 2) Better document how to disable the sandbox for debugging -- where would you expect to find docs on this,

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Alex Gaynor
; > > *From: *Alex Gaynor <agay...@mozilla.com> > *Sent: *May 8, 2017 10:26 AM > *To: *dev-platform@lists.mozilla.org > *Subject: *Running mochitest on packaged builds with the sandbox > > > > Hi dev-platform, > > > > Top-line question: Do you rely on being abl

Re: Running mochitest on packaged builds with the sandbox

2017-05-09 Thread Ehsan Akhgari
Hi Alex, Apologies for hijacking the thread, but since you asked, right now debugging mochitest that you want to get some logging out of with a sandboxed content process is super painful. I last hit it when I was debugging a memory leak which typically requires getting refcount leak logs

RE: Running mochitest on packaged builds with the sandbox

2017-05-08 Thread Kearwood Kip Gilbert
the sandboxing rules configurable at runtime? Cheers, - Kearwood “Kip” Gilbert From: Alex Gaynor Sent: May 8, 2017 10:26 AM To: dev-platform@lists.mozilla.org Subject: Running mochitest on packaged builds with the sandbox Hi dev-platform, Top-line question: Do you rely on being able to run

Running mochitest on packaged builds with the sandbox

2017-05-08 Thread Alex Gaynor
Hi dev-platform, Top-line question: Do you rely on being able to run mochitests from a packaged build (`--appname`)? Context: The sandboxing team has been hard at work making the content process sandbox as restrictive as possible. Our latest focus is removing file read permissions from content