Closed Bug 1227926 Opened 9 years ago Closed 9 years ago

Auto-sync doesn't work between fbug SVN and getfirebug.com

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Honza, Assigned: cliang)

References

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/2259] [firebug-p1])

getfirebug.com used to auto update from SVN repository.

SVN:
https://svn.mozilla.org/projects/getfirebug.com/

URL:
getfirebug.com/releases

But it doesn't work anymore (for about a week for now)

Honza
Whiteboard: [firebug-p1]
Whiteboard: [firebug-p1] → [kanban:https://webops.kanbanize.com/ctrl_board/2/2259] [firebug-p1]
It looks like there are issues with some of the svn:externals entries that's causing errors. [1]  Did the svn externals definitions get tweaked?


[1]

Fetching external item into 'tests/head':
Skipped 'tests/head/firebug.html' -- An obstructing working copy was found
Skipped 'tests/head/known-failures.html' -- An obstructing working copy was found
Skipped 'tests/head/test-bot.html' -- An obstructing working copy was found
External at revision 25063.


Fetching external item into 'tests/1.9':
Skipped 'tests/1.9/.htaccess' -- An obstructing working copy was found
Skipped 'tests/1.9/firebug.html' -- An obstructing working copy was found
svn: warning: W200004: Could not convert '' into a number


Fetching external item into 'tests/1.10':
Skipped 'tests/1.10/firebug.html' -- An obstructing working copy was found
svn: warning: W200004: Could not convert '' into a number


Fetching external item into 'tests/1.11':
Skipped 'tests/1.11/firebug.html' -- An obstructing working copy was found
Skipped 'tests/1.11/known-failures.html' -- An obstructing working copy was found
Skipped 'tests/1.11/test-bot.html' -- An obstructing working copy was found
External at revision 25063.


Fetching external item into 'tests/1.12':
Skipped 'tests/1.12/firebug.html' -- An obstructing working copy was found
Skipped 'tests/1.12/known-failures.html' -- An obstructing working copy was found
Skipped 'tests/1.12/test-bot.html' -- An obstructing working copy was found
External at revision 25063.
(In reply to C. Liang [:cyliang] from comment #1)
> It looks like there are issues with some of the svn:externals entries that's
> causing errors. [1]  Did the svn externals definitions get tweaked?
No, I don't know about any changes.

Honza
Are there any progress on this? It's really blocking our Firebug releases.
If it helps we can remove svn:externals entries you've listed in comment #1

Honza
Flags: needinfo?(cliang)
If there is no reason to retain the svn externals, I would suggest removing them.

I *think* the update process should work now but without understanding why the conflict between the svn external definitions and the local directory exist, I don't know if this situation will re-occur.

Steps taken:
   * Temporarily moved tests directory to another location.
   * Forced an 'svn cleanup'.
   * Re-updated test ('svn update tests')
   * Forced run of the update script (usually executed by cron).
Flags: needinfo?(cliang)
Assignee: server-ops-webops → cliang
The update process looks like it is broken again so, if the svn externals can be safely removed, please do so.  [1]  

'svn cleanup' by itself does not fix the issue.  I suspect that I'll need to repeat what I did in comment #4 but it appears that it only works once before it gets into a broken state again. =\



[1]  svn: warning: W155004: Working copy '/data/genericrhel6/src/getfirebug.com/getfirebug/tests/head' locked.
svn: warning: W155004: Working copy '/data/genericrhel6/src/getfirebug.com/getfirebug/tests/1.11' locked.
svn: E205011: Failure occurred processing one or more externals definitions
svn:externals on `getfirebug.com/tags/production/tests`

https://github.com/firebug/test-result-viewer/trunk result-viewer
https://github.com/firebug/manual-tests/trunk manual
https://github.com/firebug/firebug/trunk/tests/content head
https://github.com/firebug/firebug/branches/firebug1.9/tests/content 1.9
https://github.com/firebug/firebug/branches/firebug1.10/tests/content 1.10
https://github.com/firebug/firebug/branches/firebug1.11/tests/content 1.11
https://github.com/firebug/firebug/branches/firebug1.12/tests/content 1.12
https://github.com/firebug/firebug/trunk/tests/templates templates

svn:externals on `getfirebug.com/tags/production`
https://github.com/firebug/swarms/

svn:externals on `getfirebug.com/tags/production-1.4`
tests http://fbug.googlecode.com/svn/tests

svn:externals on `getfirebug.com/tags/production-1.5`
tests http://fbug.googlecode.com/svn/tests

svn:externals on `getfirebug.com/tags/production-1.5.1`
tests http://fbug.googlecode.com/svn/tests

svn:externals on `getfirebug.com/tags/trunk`
tests http://fbug.googlecode.com/svn/tests

---

All should be removed at revision 149967

Honza
Flags: needinfo?(cliang)
Honza: I've found one last set of SVN conflicts between what's on the server and what's in the repo.  I'd like to know if it's safe to remove the local conflict.

Locally, it looks like there is an svn external defined pointing to swarms:

  $ svn propget svn:externals
  swarms.github https://github.com/firebug/swarms/

There is a symlink inside the releases directory that ends up pointing to the swarms.github contents.

It doesn't look like this external is listed in the repo.  Is swarms still needed?
Flags: needinfo?(cliang)
(In reply to C. Liang [:cyliang] from comment #7)
> Is swarms still needed?
No, it can be removed.

Honza
Just adding NI so, this isn't forgotten.
Honza
Flags: needinfo?(cliang)
I believe the local SVN repository is fixed and auto-updates should be working.

I ran the auto-update script manually several times without any issue.  The last automated run of the script updated completed successfully:

   > finished at Thu Jan  7 14:15:04 PST 2016

I don't know if you want to make a change to the repo and see it reflected on-line as verification or not.
Flags: needinfo?(cliang)
The site is now updated, thanks!

(I'll ping you in case further changes are not propagated).

Honza
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.