Closed Bug 739940 Opened 12 years ago Closed 12 years ago

hg push returns perm denied for /tmp/pushlog_purge.xxxxx

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ashish, Assigned: bkero)

References

Details

Loking at the /repo/hg/scripts/purgeurl script, it builds a purge request to varnish, so this must be legacy. However that is not obvious and clearly confusing committers:

macbook-4:searchplugins milos$ hg push
pushing to ssh://hg.mozilla.org/releases/l10n/mozilla-aurora/hi-IN
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 0 changes to 0 files
remote: Trying to insert into pushlog.
remote: Please do not interrupt...
remote: Inserted into the pushlog db successfully.
remote: /repo/hg/scripts/purgeurl: line 7: /tmp/pushlog_purge.17444: Permission denied
Huh, I wonder why Google couldn't find this bug.  Maybe it's too new.
I just hit this when pushing to my patch queue (which is versioned & hosted on https://hg.mozilla.org/users/ )
(I hadn't hit this before, despite having pushed several other tweaks to the same patch-queue repo earlier today, so this is apparently intermittent (?))
I just hit this when pushing to http://hg.mozilla.org/tamarin-redux/

% hg push tr-push
pushing to ssh://hg.mozilla.org/tamarin-redux
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 3 changesets with 6 changes to 2 files
remote: Trying to insert into pushlog.
remote: Please do not interrupt...
remote: Inserted into the pushlog db successfully.
remote: /repo/hg/scripts/purgeurl: line 7: /tmp/pushlog_purge.1804: Permission denied
cshields, any thoughts (I just now noticed you were not CC'ed here)
I think this is an older hook that's calling purgeurl. I haven't looked, I'm pretty sure that we don't use varnish anymore and that purgeurl script is just hanging around doing nothing.

Felix, Daniel - do your changes/pushes actually take effect/go through fine? Or does the script terminate anything?
(In reply to Shyam Mani [:fox2mike] from comment #7)
> Felix, Daniel - do your changes/pushes actually take effect/go through fine?
> Or does the script terminate anything?

The changes in the push went through fine, AFAICT.
same here -- everything seems to go fine, despite the warning message.
Assignee: server-ops-devservices → bkero
I've removed all traces (that I was able to find) referencing the purging.  If this happens again please refile.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.