Last modified: 2013-12-09 09:50:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60202, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58202 - exception MetadataMappingHandler::processMetadata
exception MetadataMappingHandler::processMetadata
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GWToolset (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-09 09:18 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-12-09 09:50 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-12-09 09:18:59 UTC
Gwtoolset got enabled on the beta cluster. Some background jobs are being run by deployment-jobrunner08.pmtpa.wmflabs. They end up generating exception because the file metadata XML files can not be retrieved.

From the exception log:

2013-12-07 01:32:56 deployment-jobrunner08 commonswiki: [5979bbe2] [no req]   Exception from line 360 of /data/project/apache/common-local/php-master/extensions/GWToolset/includes/Handlers/Forms/MetadataMappingHandler.php: Please contact a developer; they will need to address this issue before you can continue. GWToolset\Handlers\Forms\MetadataMappingHandler::processMetadata: Could not retrieve (8/c/6/8c6f87aac4b9377b1492af22184b875f.xml) from the FileBackend.
#0 /data/project/apache/common-local/php-master/extensions/GWToolset/includes/Handlers/Forms/MetadataMappingHandler.php(527): GWToolset\Handlers\Forms\MetadataMappingHandler->processMetadata(Array)
#1 /data/project/apache/common-local/php-master/extensions/GWToolset/includes/Jobs/UploadMetadataJob.php(56): GWToolset\Handlers\Forms\MetadataMappingHandler->processRequest(Array)

It can not retrieve 8/c/6/8c6f87aac4b9377b1492af22184b875f.xml

Looking on the project shared folder, the file is there:

 $ find /mnt/upload7/private/gwtoolset -name *8c6f87aac4b*
 /mnt/upload7/private/gwtoolset/wikipedia/commons/commonswiki-gwtoolset-metadata/Dan-nl/8/c/6/8c6f87aac4b9377b1492af22184b875f.xml

I guess it is a path configuration issue.


The directory has both a XML file and an empty index.html:

$ ll /mnt/upload7/private/gwtoolset/wikipedia/commons/commonswiki-gwtoolset-metadata/Dan-nl/8/c/6/
total 20
-rw-rw-rw- 1 apache apache 17723 Dec  7 01:26 8c6f87aac4b9377b1492af22184b875f.xml
-rw-rw-rw- 1 apache apache     0 Dec  7 01:26 index.html
$
Comment 1 Gerrit Notification Bot 2013-12-09 09:36:08 UTC
Change 100355 had a related patch set uploaded by Hashar:
beta: rename {/mnt,/data/project}/upload7

https://gerrit.wikimedia.org/r/100355
Comment 2 Gerrit Notification Bot 2013-12-09 09:37:28 UTC
Change 100355 merged by jenkins-bot:
beta: rename {/mnt,/data/project}/upload7

https://gerrit.wikimedia.org/r/100355
Comment 3 Antoine "hashar" Musso (WMF) 2013-12-09 09:50:58 UTC
Confirmed to be working. Dan-nl submitted another upload batch, the background job managed to find the XML file :-]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links