Closed Bug 1312227 Opened 8 years ago Closed 8 years ago

Intermittent Windows cannot create temp file for here document: Permission denied

Categories

(Taskcluster :: Workers, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: intermittent-failure)

https://treeherder.mozilla.org/logviewer.html#?job_id=5541168&repo=autoland 14:23:52 INFO - memory\jemalloc\src> checking how to run the C preprocessor... z:/task_1477145882/build/src/vs2015u3/VC/bin/amd64/cl.EXE -E 14:23:52 INFO - memory\jemalloc\src> z:/task_1477145882/build/src/memory/jemalloc/src/configure: line 3969: cannot create temp file for here document: Permission denied 14:23:52 INFO - memory\jemalloc\src> sed: can't read conftest.c: No such file or directory 14:23:52 INFO - memory\jemalloc\src> configure: error: in `/z/task_1477145882/build/src/obj-firefox/memory/jemalloc/src': 14:23:52 INFO - memory\jemalloc\src> configure: error: C preprocessor "z:/task_1477145882/build/src/vs2015u3/VC/bin/amd64/cl.EXE -E" fails sanity check 14:23:52 INFO - memory\jemalloc\src> See `config.log' for more details 14:23:57 INFO - DEBUG: <truncated - see config.log for full output> 14:23:57 INFO - DEBUG: #define posix_fallocate innocuous_posix_fallocate 14:23:57 INFO - DEBUG: #include <assert.h> 14:23:57 INFO - DEBUG: #undef posix_fallocate 14:23:57 INFO - DEBUG: /* Override any gcc2 internal prototype to avoid an error. */ 14:23:57 INFO - DEBUG: /* We use char because int might match the return type of a gcc2 14:23:57 INFO - DEBUG: builtin and then its argument prototype would still apply. */ 14:23:57 INFO - DEBUG: char posix_fallocate(); 14:23:57 INFO - DEBUG: 14:23:57 INFO - DEBUG: int main() { 14:23:57 INFO - DEBUG: 14:23:57 INFO - DEBUG: /* The GNU C library defines this for functions which it implements 14:23:57 INFO - DEBUG: to always fail with ENOSYS. Some functions are actually named 14:23:57 INFO - DEBUG: something starting with __ and the normal name is an alias. */ 14:23:57 INFO - DEBUG: #if defined (__stub_posix_fallocate) || defined (__stub___posix_fallocate) 14:23:57 INFO - DEBUG: choke me 14:23:57 INFO - DEBUG: #else 14:23:57 INFO - DEBUG: posix_fallocate(); 14:23:57 INFO - DEBUG: #endif 14:23:57 INFO - DEBUG: 14:23:57 INFO - DEBUG: ; return 0; } 14:23:57 INFO - ERROR: old-configure failed 14:23:57 INFO - *** Fix above errors and then restart with\ 14:23:57 INFO - "z:/task_1477145882/build/src/mozmake.EXE -f client.mk build" 14:23:57 INFO - client.mk:375: recipe for target 'configure' failed 14:23:57 INFO - mozmake.EXE: *** [configure] Error 1
I'm going to pin this on the TaskCluster Windows worker. It is likely that TMP or TEMP is pointing to a directory that the task process doesn't have write privileges to. needinfo grenade to triage.
Component: Build Config → Worker
Flags: needinfo?(rthijssen)
Product: Core → Taskcluster
if it is the temp data issue, then it's a known one and we can depend on bug 1306989.
Depends on: 1306989
Flags: needinfo?(rthijssen)
you can test if using a folder under the task user directory for temp data will resolve your issue by importing this commit: https://hg.mozilla.org/try/raw-rev/26774c817292e739ea5838be18f74e1255ecd2fe
Agreed, this is due to bug 1306989
Looking at comment 4 it appears that this bug was because of a now resolved bug. Can this be closed?
Flags: needinfo?(pmoore)
Agreed! Thanks :garndt for following up.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(pmoore)
Resolution: --- → FIXED
Component: Worker → Workers
You need to log in before you can comment on or make changes to this bug.