Closed
Bug 1184381
Opened 10 years ago
Closed 10 years ago
Automatic updates of Thunderbird blocklist stopped in 2014
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rkent, Assigned: Fallen)
References
Details
(Keywords: regression, Whiteboard: [regression:TB23?])
Attachments
(2 files, 1 obsolete file)
1.12 KB,
patch
|
coop
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
2.62 KB,
patch
|
nthomas
:
review+
Fallen
:
checked-in+
|
Details | Diff | Splinter Review |
/mail/app/blocklist.xml stopped receiving automatic updates in June of 2014, so that has not been updated since then.
At the very least we need to manually updated prior to the next point release.
Reporter | ||
Updated•10 years ago
|
tracking-thunderbird_esr38:
--- → +
Updated•10 years ago
|
Keywords: regression,
regressionwindow-wanted
Whiteboard: [regression:TB23?]
Comment 1•10 years ago
|
||
You probably want to talk to releng folks & find out what's going on with their process - http://hg.mozilla.org/mozilla-central/filelog/5df788c56ae7/browser/app/blocklist.xml shows the Firefox version being updated, so it could just be a permissions problem or something.
Comment 2•10 years ago
|
||
Note: iirc, the blocklist is updated soon after starting TB, but having a reasonably up to date one straight away, would probably help with dll blocking etc.
![]() |
||
Comment 3•10 years ago
|
||
http://mxr.mozilla.org/build/source/tools/scripts/blocklist/sync-hg-blocklist.sh
http://hg.mozilla.org/build/tools/filelog/1b7a297d2054/scripts/blocklist/sync-hg-blocklist.sh
The only change in June 2014 is:
Bug 869051 - Race condition between builders that push updates to in-tree files
http://hg.mozilla.org/build/tools/rev/6b39c6438489
Updated•10 years ago
|
Severity: normal → major
Comment 5•10 years ago
|
||
Looks like we missed this at some point...
Updated•10 years ago
|
tracking-thunderbird_esr38:
+ → ---
Component: Build Config → Buildduty
Product: Thunderbird → Release Engineering
QA Contact: bugspam.Callek
Version: 38 → other
Updated•10 years ago
|
Component: Buildduty → General Automation
OS: Unspecified → All
QA Contact: bugspam.Callek → catlee
Hardware: Unspecified → All
Version: other → unspecified
Updated•10 years ago
|
Attachment #8636163 -
Flags: review?(coop) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8636163 [details] [diff] [review]
enable-blocklist-updates.diff
https://hg.mozilla.org/build/buildbot-configs/rev/ff9c87e5ffd5
Attachment #8636163 -
Flags: checked-in+
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
I forced one of the builders and it failed with the following error. Can someone adapt the script so it handles TB as well?
bash scripts/scripts/periodic_file_updates/periodic_file_updates.sh -b comm-central --bundle https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/bundles/comm-central.hg -p thunderbird -u tbirdbld -k '~cltbld/.ssh/tbirdbld_dsa' -a --blocklist
in dir /builds/slave/c-cen-l64-periodicupdate-00000/. (timeout 1200 secs)
watching logfiles {}
argv: ['bash', 'scripts/scripts/periodic_file_updates/periodic_file_updates.sh', '-b', 'comm-central', '--bundle', 'https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/bundles/comm-central.hg', '-p', 'thunderbird', '-u', 'tbirdbld', '-k', '~cltbld/.ssh/tbirdbld_dsa', '-a', '--blocklist']
environment:
CCACHE_HASHDIR=
G_BROKEN_FILENAMES=1
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/home/cltbld
HOSTNAME=bld-linux64-spot-314.build.releng.usw2.mozilla.com
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=cltbld
MAIL=/var/spool/mail/cltbld
PATH=/usr/local/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cltbld/bin
PROPERTIES_FILE=/builds/slave/c-cen-l64-periodicupdate-00000/buildprops.json
PWD=/builds/slave/c-cen-l64-periodicupdate-00000
SHELL=/bin/bash
SHLVL=1
TERM=linux
TMOUT=86400
USER=cltbld
_=/tools/buildbot/bin/python
using PTY: False
http://hg.mozilla.org/comm-central/raw-file/default/browser/config/version.txt:
2015-07-22 08:20:55 ERROR 404: Not Found.
ERROR: wget exited with a non-zero exit code: 8
INFO: parsed version is
INFO: wget -nv --no-check-certificate -O blocklist_amo.xml https://blocklist.addons.mozilla.org/blocklist/3/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D//Firefox/20090105024647/blocklist-sync/en-US/nightly/blocklist-sync/default/default/
https://blocklist.addons.mozilla.org/blocklist/3/%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D//Firefox/20090105024647/blocklist-sync/en-US/nightly/blocklist-sync/default/default/:
2015-07-22 08:20:56 ERROR 404: NOT FOUND.
ERROR: wget exited with a non-zero exit code: 8
program finished with exit code 8
elapsedTime=0.957870
Comment 10•10 years ago
|
||
(In reply to Mark Banner (:standard8) from comment #2)
> Note: iirc, the blocklist is updated soon after starting TB, but having a
> reasonably up to date one straight away, would probably help with dll
> blocking etc.
I've looked at the wiki regarding blocklist and I want to be sure I understand the impact of this...
This bug only impacts a user with a new profile (which in most cases will be a new user), until such time that thunderbird can download the lastest blocklist from mozilla? i.e. this bug won't help prevent crashes for users who may have updated (or reinstalled) and are using an existing profile.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(philipp)
Reporter | ||
Comment 11•10 years ago
|
||
(In reply to Wayne Mery (:wsmwk, use Needinfo for questions) from comment #10)
>
> I've looked at the wiki regarding blocklist and I want to be sure I
> understand the impact of this...
>
> This bug only impacts a user with a new profile (which in most cases will be
> a new user), until such time that thunderbird can download the lastest
> blocklist from mozilla? i.e. this bug won't help prevent crashes for users
> who may have updated (or reinstalled) and are using an existing profile.
I think that is correct.
Assignee | ||
Comment 12•10 years ago
|
||
This should do it. I've tested with the dry run mode:
$ scripts/periodic_file_updates/periodic_file_updates.sh -b comm-central --bundle https://ftp-ssl.mozilla.org/pub/mozilla.org/thunderbird/bundles/comm-central.hg -p thunderbird -u tbirdbld -k '~cltbld/.ssh/tbirdbld_dsa' -a --blocklist -n
2015-08-26 00:21:24 URL:http://hg.mozilla.org/comm-central/raw-file/default/mail/config/version.txt [7/7] -> "version.txt" [1]
INFO: parsed version is 43.0a1
INFO: wget -nv --no-check-certificate -O blocklist_amo.xml https://blocklist.addons.mozilla.org/blocklist/3/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/43.0a1/Thunderbird/20090105024647/blocklist-sync/en-US/nightly/blocklist-sync/default/default/
2015-08-26 00:21:26 URL:https://blocklist.addons.mozilla.org/blocklist/3/%7B3550f703-e582-4d05-9a08-453d09bdfdc6%7D/43.0a1/Thunderbird/20090105024647/blocklist-sync/en-US/nightly/blocklist-sync/default/default/ [138281] -> "blocklist_amo.xml" [1]
INFO: wget -nv -O blocklist_hg.xml http://hg.mozilla.org/comm-central/raw-file/default/mail/app/blocklist.xml
2015-08-26 00:21:27 URL:http://hg.mozilla.org/comm-central/raw-file/default/mail/app/blocklist.xml [86396/86396] -> "blocklist_hg.xml" [1]
INFO: diffing in-tree blocklist against the blocklist from AMO...
INFO: AMO blocklist differs from the one in-tree.
INFO: Updates are available, not updating hg in dry-run mode.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Flags: needinfo?(philipp)
Attachment #8652602 -
Flags: review?(rail)
Comment 13•10 years ago
|
||
Comment on attachment 8652602 [details] [diff] [review]
Fix periodic updates script to accomodate for Thunderbird - v1
Review of attachment 8652602 [details] [diff] [review]:
-----------------------------------------------------------------
I'm not familiar with this code. I'd ask someone from http://hg.mozilla.org/build/tools/log/dbca4fa3f6a9/scripts/periodic_file_updates/periodic_file_updates.sh to review the patch. My 2 cents below.
::: scripts/periodic_file_updates/periodic_file_updates.sh
@@ +579,5 @@
> + ;;
> + firefox)
> + APP_DIR="browser"
> + APP_ID="%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D"
> + APP_NAME="Firefox"
These values are already set for all products globally. I'd either delete the "firefox" block (to be backwards compatible) or delete the global definition and add "*)" case with non zero exit code.
Attachment #8652602 -
Flags: review?(rail)
Assignee | ||
Comment 14•10 years ago
|
||
(In reply to Rail Aliiev [:rail] from comment #13)
> > + firefox)
> > + APP_DIR="browser"
> > + APP_ID="%7Bec8030f7-c20a-464f-9b0e-13a3a9e97384%7D"
> > + APP_NAME="Firefox"
>
> These values are already set for all products globally. I'd either delete
> the "firefox" block (to be backwards compatible) or delete the global
> definition and add "*)" case with non zero exit code.
I went with deleting the global definition and adding the *) case, but keeping the default for the product at "firefox". This way it should be backwards compatible in case Firefox doesn't use -p but still keeps app config at once place.
This won't work of course if other products use this script, without adding config for that. Let me know if I should add more.
Attachment #8652602 -
Attachment is obsolete: true
Attachment #8652628 -
Flags: review?(nthomas)
Updated•10 years ago
|
Attachment #8652628 -
Flags: review?(nthomas) → review+
Assignee | ||
Comment 15•10 years ago
|
||
https://hg.mozilla.org/build/tools/rev/baf47eca96df
Does this bug need any further action, or will it just work now?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(nthomas)
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
Attachment #8652628 -
Flags: checked-in+
Comment 16•10 years ago
|
||
It'd be great to verify the changes. I tried to force the builder but the push failed because c-c was closed. At least it was able to get to that point! \o/
Comment 17•10 years ago
|
||
Worked on comm-aurora - https://hg.mozilla.org/releases/comm-aurora/rev/640dce05d60a
Flags: needinfo?(nthomas)
Comment 18•10 years ago
|
||
FTR, this is the list of builders
"TB Linux x86-64 comm-aurora periodic file update"
"TB Linux x86-64 comm-beta periodic file update"
"TB Linux x86-64 comm-central periodic file update"
"TB Linux x86-64 comm-esr38 periodic file update"
Doesn't look like there are any branches missing.
Assignee | ||
Comment 19•10 years ago
|
||
I noticed we have a new xpcshell failure that might be related to this, filed bug 1200567.
Depends on: 1200567
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•