Closed
Bug 1259174
Opened 9 years ago
Closed 9 years ago
"File not found" errors in xpcshell/mozmill following bug 1242632
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox48 fixed)
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: aleth, Assigned: aleth)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.82 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
Spun out of bug 1254987.
Note these failures can be reproduced locally.
Assignee | ||
Updated•9 years ago
|
Blocks: 1254987
Keywords: regression
Assignee | ||
Comment 1•9 years ago
|
||
Looks like it's not a relative path issue: objdir/_tests/xpcshell/mailnews/resources doesn't exist after the build.
Assignee | ||
Comment 2•9 years ago
|
||
Looks like Bug 1140161 has broken.
Assignee | ||
Comment 3•9 years ago
|
||
Probably by Bug 1242632.
Assignee | ||
Comment 4•9 years ago
|
||
Indeed, backing out bug 1242632 "fixes" this bug.
The relevant moz.builds with TEST_HARNESS_FILES absolute paths are
mail/test/mozmill/moz.build
mailnews/moz.build
mshal, any ideas as to what might be going wrong?
Assignee | ||
Updated•9 years ago
|
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(mshal)
Assignee | ||
Comment 5•9 years ago
|
||
I suspect https://hg.mozilla.org/mozilla-central/rev/bb230d696c72#l1.97 isn't the right thing to do when an absolute path is provided in TEST_HARNESS_FILES.
Assignee | ||
Comment 6•9 years ago
|
||
(By "absolute path" I mean https://hg.mozilla.org/mozilla-central/file/bb230d696c72/python/mozbuild/mozbuild/frontend/context.py#l1750)
Assignee | ||
Comment 7•9 years ago
|
||
This seems to fix the regression, but is possibly a bit of a hack.
Attachment #8734112 -
Flags: feedback?(mshal)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Assignee | ||
Updated•9 years ago
|
No longer blocks: 1254987
Product: Thunderbird → Core
Summary: "File not found" errors in xpcshell/mozmill following recent configure changes → "File not found" errors in xpcshell/mozmill following bug 1242632
Comment 8•9 years ago
|
||
Comment on attachment 8734112 [details] [diff] [review]
Fix absolute paths in TEST_HARNESS_FILES
I think that seems reasonable. Though why do you need to add support for it at all? Couldn't you use local paths instead?
TEST_HARNESS_FILES.xpcshell.mailnews.data += [
'/mailnews/test/data/**',
]
TEST_HARNESS_FILES.xpcshell.mailnews.resources += [
'/mailnews/test/resources/**',
]
to:
TEST_HARNESS_FILES.xpcshell.mailnews.data += [
'test/data/**',
]
TEST_HARNESS_FILES.xpcshell.mailnews.resources += [
'test/resources/**',
]
Flags: needinfo?(mshal)
Attachment #8734112 -
Flags: feedback?(mshal) → feedback+
Assignee | ||
Comment 9•9 years ago
|
||
(In reply to Michael Shal [:mshal] from comment #8)
> TEST_HARNESS_FILES.xpcshell.mailnews.resources += [
> 'test/resources/**',
> ]
The problem is that this would end up with files copied to .../xpcshell/mailnews/resources/test/resources.
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8734112 [details] [diff] [review]
Fix absolute paths in TEST_HARNESS_FILES
Note this simple patch would fail if there are absolute paths with wildcards in the middle somewhere (/whatever/*/something); not sure if that is supported.
Attachment #8734112 -
Flags: review?(mshal)
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to aleth [:aleth] from comment #9)
> The problem is that this would end up with files copied to
> .../xpcshell/mailnews/resources/test/resources.
One might be able to work around that one, but this example here seems impossible:
https://dxr.mozilla.org/comm-central/source/mail/test/mozmill/moz.build#12
Updated•9 years ago
|
Attachment #8734112 -
Flags: review?(mshal)
Attachment #8734112 -
Flags: review+
Attachment #8734112 -
Flags: feedback+
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b62c5b05ff1fee583c76e8c697e51e8f823aadc
Bug 1259174 - Fix absolute paths in TEST_HARNESS_FILES. r=mshal
Comment 13•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•