Closed
Bug 1214403
Opened 9 years ago
Closed 7 years ago
comm- mac unit test packaging is not run in the right objdir
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(1 file)
4.41 KB,
patch
|
Details | Diff | Splinter Review |
Once bug 1195442 is fixed, there will be another failure. IIRC the test packages are run in the base objdir, not in the platform specific sub-directories.
Assignee | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Comment on attachment 8673324 [details] [diff] [review]
Fix - v1
Review of attachment 8673324 [details] [diff] [review]:
-----------------------------------------------------------------
::: process/factory.py
@@ +1517,5 @@
> warnOnFailure=False,
> ))
> + project = os.path.basename(self.objdir)
> + if project in ('i386', 'x86_64'):
> + pkg_env['MOZ_CURRENT_PROJECT'] = project
I'm not familiar with MOZ_CURRENT_PROJECT. I'd ask glandium (from https://hg.mozilla.org/mozilla-central/diff/ce1c57e03b88/python/mozbuild/mozbuild/base.py#l1.13) about the possible impact.
@@ +1570,5 @@
> pkg_env = self.env.copy()
> else:
> pkg_env = {}
>
> + if self.platform.startswith('macosx'):
IS there any reason for this condition specifically for this place? It's not the same above.
Attachment #8673324 -
Flags: review?(rail)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #2)
> Comment on attachment 8673324 [details] [diff] [review]
> Fix - v1
>
> Review of attachment 8673324 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: process/factory.py
> @@ +1517,5 @@
> > warnOnFailure=False,
> > ))
> > + project = os.path.basename(self.objdir)
> > + if project in ('i386', 'x86_64'):
> > + pkg_env['MOZ_CURRENT_PROJECT'] = project
>
> I'm not familiar with MOZ_CURRENT_PROJECT. I'd ask glandium (from
> https://hg.mozilla.org/mozilla-central/diff/ce1c57e03b88/python/mozbuild/
> mozbuild/base.py#l1.13) about the possible impact.
MOZ_CURRENT_PROJECT is used in mozbuild to determine the mozconfig location and objdir, see <http://mxr.mozilla.org/comm-central/source/mozilla/python/mozbuild/mozbuild/base.py#168>. If this is not set, then the directory containing i386/ and x86_64/ will be taken for the top objdir, which is why we were getting errors.
I asked ted if this approach is ok beforehand, but it was only a quick question on IRC so it would be nice to get more eyes on it.
> > + if self.platform.startswith('macosx'):
> IS there any reason for this condition specifically for this place? It's not
> the same above.
I matched this with various other lines that use |self.platform.startswith(...)|, using |'name' in self.platform| is far less common in that file. I'm fine either way though.
Flags: needinfo?(mh+mozilla)
Comment 4•9 years ago
|
||
This looks fine, but bears the question: why did this work for Firefox mac builds without this?
Flags: needinfo?(mh+mozilla)
Assignee | ||
Comment 5•9 years ago
|
||
I suspect that Firefox mac test builds are run differently and don't use the buildbot code here. I'll give this a spin on staging.
Comment 6•9 years ago
|
||
mozbuild.base.ObjdirMismatchException: Objdir mismatch: /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb/i386 != /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb
Comment 7•9 years ago
|
||
(In reply to aleth [:aleth] from comment #6)
> mozbuild.base.ObjdirMismatchException: Objdir mismatch:
> /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb/i386 !=
> /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb
This was unrelated, sorry.
Comment 8•9 years ago
|
||
Is this related to the current 10.10 opt mozmill failure? OSX xpcshell appears to be working.
Comment 9•9 years ago
|
||
(In reply to aleth [:aleth] from comment #8)
> Is this related to the current 10.10 opt mozmill failure? OSX xpcshell
> appears to be working.
Doesn't seem likely, so I assume this bug is resolved wfm?
Flags: needinfo?(philipp)
Comment 10•9 years ago
|
||
Is this an adequate follow up to bug 1220018 comment 6?
Flags: needinfo?(aleth)
Summary: comm mac unit tests are not run in the right objdir → comm- mac unit tests are not run in the right objdir
Comment 11•9 years ago
|
||
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #10)
> Is this an adequate follow up to bug 1220018 comment 6?
No idea, iirc Fallen was going to test this some time ago, not sure what the outcome was or if it's still needed.
Flags: needinfo?(aleth)
Comment 12•9 years ago
|
||
Fallen, OSX xpcshell tests currently run in /builds/slave/test/build/tests/xpcshell/tests/toolkit/components/osfile/tests/xpcshell. Is this correct or not?
There are some puzzling xpcshell/mozmill failures that don't happen locally and it would be nice to rule out this as the cause.
Assignee | ||
Comment 13•9 years ago
|
||
This issue is about /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb/i386 vs /builds/slave/tb-c-cen-m64-00000000000000000/build/objdir-tb and IIRC should be occurring during the actual build, where the test package is packaged. If you want to reproduce it, you need to do a mac universal build.
I don't think this relates to the osfile failures.
Comment 14•9 years ago
|
||
(In reply to Philipp Kewisch [:Fallen] from comment #13)
> I don't think this relates to the osfile failures.
I'm not so sure about bug 1093012 though.
Updated•9 years ago
|
Flags: needinfo?(philipp)
Updated•9 years ago
|
Summary: comm- mac unit tests are not run in the right objdir → comm- mac unit test packaging is not run in the right objdir
Comment 15•9 years ago
|
||
(In reply to aleth [:aleth] from comment #14)
> (In reply to Philipp Kewisch [:Fallen] from comment #13)
> > I don't think this relates to the osfile failures.
>
> I'm not so sure about bug 1093012 though.
On investigation, turned out to be unrelated.
Assignee | ||
Comment 16•7 years ago
|
||
I think we can close this bug, I believe we've dropped the i386 builds by now.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•