Closed Bug 556564 Opened 11 years ago Closed 11 years ago

Automated updates broken for 2.1a1pre nightlies since 20100329010643

Categories

(SeaMonkey :: Release Engineering, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.1a1

People

(Reporter: philip.chee, Assigned: kairo)

References

Details

(Keywords: regression)

http://forums.mozillazine.org/viewtopic.php?f=6&t=1831395

rsx11m:
Anybody else not getting trunk updates beyond 20100329 on Windows?
Checking the AUS XML manually it gives me buildID="20100329010643" as well. :?

From #seamonkey:

<Ratty>	KaiRo: is this a known problem wikth automatic updates with the latest nightlies? http://forums.mozillazine.org/viewtopic.php?f=6&t=1831395
<KaiRo>	Ratty: at least someome finally is testing, please get a bug filed
	Ratty: and mark it a regression from bug 555730
coop suspects bug 556321 to be a possible cause here, I'll try updating buildbotcustom to pull in that.
Depends on: 556321
Component: Project Organization → Release Engineering
QA Contact: organization → release
OK, I hope coop was right. I have now updated the buildmaster to current code that includes the bug 556321 fix and I hope that means this bug will be fixed with tomorrow's nightlies.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Whiteboard: [fixed by bug 556321]
Sorry, I'm still getting "No updates available" despite 20100402 nightly builds being available. AUS XML still refers to 20100329 build as well.
Same here... automatic updates do not work
Reopening, no luck with 20100403 either. I've manually installed 20100402 to see if seamonkey-2.1a1pre.en-US.win32.partial.20100402015622-20100403014456.mar is grabbed for the partial update, but nothing is happening on Help > Update.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [fixed by bug 556321] → [not fixed by bug 556321]
(In reply to comment #0)
> Checking the AUS XML manually it gives me buildID="20100329010643" as well. :?

The url is
{
/suite/browser/browser-prefs.js
    * line 417 -- pref("app.update.url", "https://aus2-community.mozilla.org/update/1/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/update.xml");
}

That AUS XML is
https://aus2-community.mozilla.org/update/1/SeaMonkey/2.1a1pre/2010040101/WINNT_x86-msvc/en-US/nightly/update.xml?force=1
{
<update type="minor" version="2.1a1pre" extensionVersion="2.1a1pre" buildID="20100329010643">
<patch type="complete" 
}

*****

The date seems to match:
bug 555730 http://hg.mozilla.org/build/buildbot-configs/rev/fe12ba9f6bfd
{
    1.26 -BRANCHES['comm-central-trunk']['aus2_base_upload_dir'] = '/opt/aus2/build/0/SeaMonkey/comm-central-trunk'
    1.29 +BRANCHES['comm-central-trunk']['aus2_base_upload_dir'] = '/opt/aus2/incoming/2/SeaMonkey/mozilla-central'
    1.30 +BRANCHES['comm-central-trunk']['aus2_base_upload_dir_l10n'] = '/opt/aus2/incoming/2/SeaMonkey/mozilla-central'
}
Are the new paths right?
build/0 -> incoming/2 ?
comm-central-trunk -> mozilla-central ?
Status: REOPENED → NEW
(In reply to comment #6)
>     1.26 -BRANCHES['comm-central-trunk']['aus2_base_upload_dir'] =
> '/opt/aus2/build/0/SeaMonkey/comm-central-trunk'
>     1.29 +BRANCHES['comm-central-trunk']['aus2_base_upload_dir'] =
> '/opt/aus2/incoming/2/SeaMonkey/mozilla-central'
>     1.30 +BRANCHES['comm-central-trunk']['aus2_base_upload_dir_l10n'] =
> '/opt/aus2/incoming/2/SeaMonkey/mozilla-central'

Thanks for looking, I was somewhat expecting the problem to be in those paths, but didn't come around to check in details yet.

> Are the new paths right?
> build/0 -> incoming/2 ?

That was my first though, but coop assured me the change is just that we now put things directly where they should be, and don't rely on some internal automation forwarding build/0 somewhere else.

> comm-central-trunk -> mozilla-central ?

THAT is very probably it! D'Oh! Thanks for finding that one, will fix today!
Should be fixed in tommorrow's nightlies after the pushing of http://hg.mozilla.org/build/buildbot-configs/rev/afe2fcc3fcbd and reconfig of the master I just have done.
Status: NEW → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Assignee: nobody → kairo
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Ftr, FF 3.7 uploads to aus2-staging.mozilla.org,
SM 2.1 to aus2-community.mozilla.org.)
Whiteboard: [not fixed by bug 556321]
It's quite possible you *don't* want to be uploading your final version snippets to incoming/2. The MoCo AUS server takes snippets from incoming/2 in staging and uses them to provide updates via update/3, e.g.

https://aus2.mozilla.org/update/3/Firefox/3.6.3/20100401064631/Darwin_Universal-gcc3/en-US/release/Darwin%2010.3.0/default/default/update.xml?force=1

If SeaMonkey is expecting updates via update/1, your final snippets may need a different aus2_base_upload_dir. 

Can you check the community patch generation script output to see where it was putting the final snippets before?
(In reply to comment #11)
> If SeaMonkey is expecting updates via update/1, your final snippets may need a
> different aus2_base_upload_dir. 

Hmm, I don't think that's actually the case, we just may have not switched to the right URLs in the client yet, then. But I don't think that the update URL versions actually have anything to do with this, as the only difference they should make is what info the URL contains.

Serge, btw, do you know if we have any open bug on moving to a newer update URL scheme?

> Can you check the community patch generation script output to see where it was
> putting the final snippets before?

We were putting them into build/0, just as you did before that work.
OK, I did some updates on the AUS server side, we're running a clean cvs HEAD version of the code now, and the URL in comment #9 actually returns something for me now. I hope this fixed it.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Oh, and using https://aus2-community.mozilla.org/update/1/SeaMonkey/2.1a1pre/20100405013957/WINNT_x86-msvc/en-US/nightly/update.xml?force=1 (build ID of yesterday's build) even gives me a partial update!
(In reply to comment #13)
> Serge, btw, do you know if we have any open bug on moving to a newer update URL
> scheme?

It doesn't look like we have.
(And, fwiw, I don't think I know anything about that subject/need.)
(In reply to comment #16)
> (In reply to comment #13)
> > Serge, btw, do you know if we have any open bug on moving to a newer update URL
> > scheme?
> 
> It doesn't look like we have.
> (And, fwiw, I don't think I know anything about that subject/need.)

I thought it might have popped up somewhere in the middle of the whole porting efforts. In any case, I already have filed bug 557583.
Full update from 20100402 to Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a4pre) Gecko/20100406 SeaMonkey/2.1a1pre worked now, I'll mark this verified if tomorrow's partial update goes through as well.
Target Milestone: --- → seamonkey2.1a1
Version: unspecified → Trunk
Update from 20100406 to 20100407032007 went fine and was a partial update with a 1156KB download size. Thus, verified fixed now - thanks!
Status: RESOLVED → VERIFIED
Yay! Thanks for testing!
You need to log in before you can comment on or make changes to this bug.