Item8404: BuildContrib does not always update extension topic
Priority: Urgent
Current State: No Action Required
Released In: 1.0.0
Target Release: n/a
I have observed twice that releasing an extension (in this case
TablePlugin) with perl build.pl upload resulted in the attachments to get uploaded but the extension topic remained the old version.
Running perl build.pl upload one more time corrected the problem.
It is a serious issue if the plugin does not correctly release.
I have observed during the 1.0.9 release that plugins that had been released some weeks ago had an empty plugin topic.
We have a serious problem with
BuildContrib.
--
KennethLavrsen - 21 Jan 2010
Confirmed.
--
MichaelDaum - 21 Jan 2010
Olivier asked for the console output.
Below are two runs. First failed. Second was OK. Nothing to notice in output as I see it.
[root@www TablePlugin]# perl build.pl upload
Loaded config from /root/.buildcontrib
Basing new topic on /var/www/Release01x00/TablePlugin/TablePlugin.txt
Preparing to upload to:
Web: Extensions
PubDir: http://foswiki.org/pub
Scripts: http://foswiki.org/bin
Suffix:
Is that correct? Answer 'n' to change? [y/n] y
Using credentials for http://foswiki.org/bin saved in /root/.buildcontrib
Do you want to upload the archives and installers? [y/n] y
Building release 1.045 of TablePlugin, from version 6110 (2010-01-21)
mkdir /tmp/3Eehd4ah4b/data
mkdir /tmp/3Eehd4ah4b/data/System/
mkdir /tmp/3Eehd4ah4b/lib
mkdir /tmp/3Eehd4ah4b/lib/Foswiki
mkdir /tmp/3Eehd4ah4b/lib/Foswiki/Plugins/
mkdir /tmp/3Eehd4ah4b/lib/Foswiki/Plugins/TablePlugin/
MD5 checksums in /var/www/Release01x00/TablePlugin/TablePlugin.md5
SHA1 checksums in /var/www/Release01x00/TablePlugin/TablePlugin.sha1
.tgz in /var/www/Release01x00/TablePlugin/TablePlugin.tgz
.zip in /var/www/Release01x00/TablePlugin/TablePlugin.zip
.txt in /var/www/Release01x00/TablePlugin/TablePlugin.txt
_installer in /var/www/Release01x00/TablePlugin/TablePlugin_installer
Downloading TablePlugin to recover form
Saving TablePlugin
Taking a deep breath after the upload.....
Saving VarTABLE
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.zip
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.tgz
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin_installer
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.md5
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.sha1
Taking a deep breath after the upload.....
[root@www TablePlugin]# perl build.pl upload
Loaded config from /root/.buildcontrib
Basing new topic on /var/www/Release01x00/TablePlugin/TablePlugin.txt
Preparing to upload to:
Web: Extensions
PubDir: http://foswiki.org/pub
Scripts: http://foswiki.org/bin
Suffix:
Is that correct? Answer 'n' to change? [y/n] y
Using credentials for http://foswiki.org/bin saved in /root/.buildcontrib
Do you want to upload the archives and installers? [y/n] y
Building release 1.045 of TablePlugin, from version 6110 (2010-01-21)
mkdir /tmp/d9MEdD7Iym/data
mkdir /tmp/d9MEdD7Iym/data/System/
mkdir /tmp/d9MEdD7Iym/lib
mkdir /tmp/d9MEdD7Iym/lib/Foswiki
mkdir /tmp/d9MEdD7Iym/lib/Foswiki/Plugins/
mkdir /tmp/d9MEdD7Iym/lib/Foswiki/Plugins/TablePlugin/
MD5 checksums in /var/www/Release01x00/TablePlugin/TablePlugin.md5
SHA1 checksums in /var/www/Release01x00/TablePlugin/TablePlugin.sha1
.tgz in /var/www/Release01x00/TablePlugin/TablePlugin.tgz
.zip in /var/www/Release01x00/TablePlugin/TablePlugin.zip
.txt in /var/www/Release01x00/TablePlugin/TablePlugin.txt
_installer in /var/www/Release01x00/TablePlugin/TablePlugin_installer
Downloading TablePlugin to recover form
Saving TablePlugin
Taking a deep breath after the upload.....
Saving VarTABLE
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.zip
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.tgz
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin_installer
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.md5
Taking a deep breath after the upload.....
Uploading Extensions/TablePlugin/TablePlugin.sha1
Taking a deep breath after the upload.....
--
KennethLavrsen - 21 Jan 2010
I see one huge difference in the logs. The first time you tried to upload the extension, it is written as being saved as revision 16. The second time you tried, it is saved as revision 1:
| 2010-01-21T09:09:01Z info | KennethLavrsen | save | Extensions.TablePlugin | repRev 16 by KennethLavrsen 2010/01/21 09:09:01 | your.ip.addr.ess |
...
| 2010-01-21T09:12:08Z info | KennethLavrsen | save | Extensions.TablePlugin | repRev 1 by KennethLavrsen 2010/01/21 09:12:08 | your.ip.addr.ess |
I honestly cannot figure out why the repRev would be reset to 1. The revisions are still there in the .txt,v but the header is wrong, and that's a "feature"
CDot, any hint?
--
OlivierRaginel - 21 Jan 2010
MichaelDaum opened
Foswikitask:Item8337 which I'll close as duplicate of this one even though it is older. This one has more information.
His latest logs are here:
Loaded config from /home/www-data/.buildcontrib
Basing new topic on /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.txt
Preparing to upload to:
Web:Extensions
PubDir: http://foswiki.org/pub
Scripts: http://foswiki.org/bin
Suffix:
Is that correct? Answer 'n' to change? [y/n] y
Using credentials for http://foswiki.org/bin saved in /home/www-data/.buildcontrib
Do you want to upload the archives and installers? [y/n] y
Building release 1.1 of ZonePlugin, from version 6332 (2010-02-15)
MD5 checksums in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.md5
SHA1 checksums in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.sha1
.tgz in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.tgz
.zip in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.zip
.txt in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.txt
_installer in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin_installer
Downloading ZonePlugin to recover form
Saving ZonePlugin
Saving VarADDTOZONE
Saving VarRENDERZONE
Uploading Extensions/ZonePlugin/ZonePlugin.zip
Uploading Extensions/ZonePlugin/ZonePlugin.tgz
Uploading Extensions/ZonePlugin/ZonePlugin_installer
Uploading Extensions/ZonePlugin/ZonePlugin.md5
Uploading Extensions/ZonePlugin/ZonePlugin.sha1
This gives from the server side:
Loaded config from /home/www-data/.buildcontrib
Basing new topic on /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.txt
Preparing to upload to:
Web: Extensions
PubDir: http://foswiki.org/pub
Scripts: http://foswiki.org/bin
Suffix:
Is that correct? Answer 'n' to change? [y/n] y
Using credentials for http://foswiki.org/bin saved in /home/www-data/.buildcontrib
Do you want to upload the archives and installers? [y/n] y
Building release 1.1 of ZonePlugin, from version 6332 (2010-02-15)
MD5 checksums in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.md5
SHA1 checksums in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.sha1
.tgz in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.tgz
.zip in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.zip
.txt in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin.txt
_installer in /home/www-data/foswiki/trunk/ZonePlugin/ZonePlugin_installer
Downloading ZonePlugin to recover form
Saving ZonePlugin
Saving VarADDTOZONE
Saving VarRENDERZONE
Uploading Extensions/ZonePlugin/ZonePlugin.zip
Uploading Extensions/ZonePlugin/ZonePlugin.tgz
Uploading Extensions/ZonePlugin/ZonePlugin_installer
Uploading Extensions/ZonePlugin/ZonePlugin.md5
Uploading Extensions/ZonePlugin/ZonePlugin.sha1
This gives from the server side:
--
OlivierRaginel - 15 Feb 2010
Michael did another try for
EditChapterPlugin:
This morning:
1st upload this afternoon:
Apache access logs:
you.ip.add.res - - [15/Feb/2010:14:32:17 +0000] "GET /bin/view/Extensions/EditChapterPlugin?raw=debug HTTP/1.1" 302 241 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:17 +0000] "GET /Extensions/EditChapterPlugin?raw=debug HTTP/1.1" 200 42056 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:18 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30516 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:19 +0000] "POST /bin/save/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:20 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:21 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:22 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:23 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:24 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:26 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:26 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:28 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:28 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:30 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:30 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:32:32 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
2nd upload:
Apache access logs:
you.ip.add.res - - [15/Feb/2010:14:34:10 +0000] "GET /bin/view/Extensions/EditChapterPlugin?raw=debug HTTP/1.1" 302 241 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:10 +0000] "GET /Extensions/EditChapterPlugin?raw=debug HTTP/1.1" 200 42137 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:11 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:12 +0000] "POST /bin/save/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:13 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:14 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:15 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:16 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:17 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:19 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:19 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:21 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:22 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:23 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:24 +0000] "GET /bin/edit/Extensions/EditChapterPlugin HTTP/1.1" 200 30611 "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
you.ip.add.res - - [15/Feb/2010:14:34:25 +0000] "POST /bin/upload/Extensions/EditChapterPlugin HTTP/1.1" 302 - "-" "ContribBuild/$Rev: 6278 $ libwww-perl/5.820"
So, I cannot see anything obvious... Will have to dig some more
Sven found a problem and fixed it; I can't find the task, but I'm certain this is a duplicate.
--
CrawfordCurrie - 08 Sep 2010