Last modified: 2014-03-02 20:24:26 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 T64018, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62018 - scap-rebuild-cdbs fails with cryptic error messages when scap called with invalid `--versions` command line flag
scap-rebuild-cdbs fails with cryptic error messages when scap called with inv...
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Bryan Davis
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-27 20:27 UTC by Bryan Davis
Modified: 2014-03-02 20:24 UTC (History)
4 users (show)

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


Attachments

Description Bryan Davis 2014-02-27 20:27:36 UTC
Running a full scap for just wmf16 branch (scap --versions php-1.23wmf16 'rebuild php-1.23wmf16 l10n cache') failed with:

  Warning: opendir(/upstream): failed to open dir: No such file or directory in /srv/scap/bin/mergeCdbFileUpdates on line 76
  Could not open directory '/upstream'.

This looks to be a bug in the scap-rebuild-cdbs call when --versions are specified in the scap call.
Comment 1 Gerrit Notification Bot 2014-02-28 00:43:54 UTC
Change 116017 had a related patch set uploaded by BryanDavis:
Validate --versions arguments to scap

https://gerrit.wikimedia.org/r/116017
Comment 2 Bryan Davis 2014-02-28 00:49:11 UTC
It turns out that the bug was mostly in my head. Specifically the --versions list is meant to be values such as 1.23wmf16 rather than directory names such as php-1.23wmf16. The input validation and error messages could have been more useful however and it would be nice to fail fast on an error like this rather than failing very noisily after the sync.
Comment 3 Gerrit Notification Bot 2014-03-01 06:16:42 UTC
Change 116017 abandoned by Ori.livneh:
Validate --versions arguments to scap

Reason:
Suit yourself.

https://gerrit.wikimedia.org/r/116017
Comment 4 Gerrit Notification Bot 2014-03-01 18:58:02 UTC
Change 116017 restored by BryanDavis:
Validate --versions arguments to scap

Reason:
I'm assuming Ori abandoned my changeset accidentally.

https://gerrit.wikimedia.org/r/116017
Comment 5 Gerrit Notification Bot 2014-03-02 20:22:08 UTC
Change 116017 abandoned by BryanDavis:
Validate --versions arguments to scap

Reason:
Obsoleted by I956385c

https://gerrit.wikimedia.org/r/116017

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


Navigation
Links