Page MenuHomePhabricator
Paste Active Pastes
  • INFO:quibble.commands:PHPUnit unit tests
    INFO:quibble.commands:vendor/bin/phpunit --testsuite=core:unit,extensions:unit,skins:unit --exclude-group Broken,ParserFuzz,Stub --log-junit /home/hashar/workspace/log/junit-unit.xml
    PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
    Usage: phpunit [options] UnitTest [UnitTest.php]
    ...
    • Jul 15 2019, 2:39 PM
    • 110 Lines
  • <?xml version="1.0" encoding="ISO-8859-15"?>
    <checkstyle version="6.5">
    <file name="includes/CategoryViewer.php">
    <error line="184" severity="warning" message="Calling method \CategoryViewer::generateLink() in \CategoryViewer::addSubcategoryObject that outputs using tainted argument $[arg #4]. (Caused by: includes/CategoryViewer.php +203)" source="SecurityCheck-DoubleEscaped"/>
    <error line="416" severity="warning" message="Calling method \CategoryViewer::formatList() in \CategoryViewer::getSubcategorySection that outputs using tainted argument $[arg #2]. (Caused by: includes/CategoryViewer.php +534) (Caused by: includes/CategoryViewer.php +191; includes/CategoryViewer.php +275)" source="SecurityCheck-DoubleEscaped"/>
    ...
    • Jul 15 2019, 11:17 AM
    • 308 Lines
  • /**
    * @see [[Wikidata:Tours/Qualifiers]]
    *
    * @author Bene*
    */
    ...
    • Jul 15 2019, 10:35 AM
    • 322 Lines
    • Javascript
  • # run from puppetdb1001
    # get list of all nodes
    curl http://localhost:8080/pdb/query/v4/nodes | jq -r '.[] | .certname' > all-nodes.txt
    ...
    • Jul 14 2019, 7:18 PM
    • 17 Lines
    • Shell
  • 658503192 MediaWiki
    104822039 restbase
    10536074 ores
    8342166 cpjobqueue
    6600347 changeprop
    ...
    • Jul 12 2019, 4:40 PM
    • 30 Lines
  • cache::alternate_domains:
    grafana.wikimedia.org:
    caching: pass
    director: krypton
    phab.wmfusercontent.org:
    ...
    • Jul 12 2019, 1:49 PM
    • 132 Lines
  • P8740 beline
    09:18:18 ema@stat1004.eqiad.wmnet:~
    $ beeline
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    ...
    • Jul 12 2019, 9:18 AM
    • 13 Lines
  • /*
    * This script allows to count the number of times a steward has used CheckUser on a wiki.
    * It was written in response in to [[Talk:Stewards/CheckUser_statistics_for_loginwiki#Update_required]]
    * but can be used for other wikis too.
    *
    ...
    • Jul 12 2019, 6:32 AM
    • 115 Lines
  • curl -I "https://gerrit.wikimedia.org/r/changes/?pp=0&o=TRACKING_IDS&o=DETAILED_LABELS&q=bug:T218657+OR+bug:T225068+OR+bug:T225031+OR+bug:T225008+OR+bug:T224980+OR+bug:T224939+OR+bug:T224933+OR+bug:T224908+OR+bug:T224906+OR+bug:T224448+OR+bug:T224041+OR+bug:T223698+OR+bug:T223410+OR+bug:T223134+OR+bug:T222757+OR+bug:T222488+OR+bug:T222472+OR+bug:T222240+OR+bug:T222237+OR+bug:T221434+OR+bug:T220775+OR+bug:T220771+OR+bug:T220723+OR+bug:T220720+OR+bug:T220712+OR+bug:T220481+OR+bug:T219748+OR+bug:T219573+OR+bug:T219012+OR+bug:T218686+OR+bug:T218412+OR+bug:T218361+OR+bug:T218233+OR+bug:T217095+OR+bug:T216612+OR+bug:T216165+OR+bug:T215864+OR+bug:T214978+OR+bug:T214360+OR+bug:T212746+OR+bug:T203506+OR+bug:T192478+OR+bug:T105683+OR+bug:T280+OR+bug:T53494+OR+bug:T225972+OR+bug:T222234+OR+bug:T67394+OR+bug:T224783+OR+bug:T78802+OR+bug:T94620+OR+bug:T100099+OR+bug:T100294+OR+bug:T101542+OR+bug:T115629+OR+bug:T115630+OR+bug:T121857+OR+bug:T129940+OR+bug:T156445+OR+bug:T158360+OR+bug:T158730+OR+bug:T158980+OR+bug...
    • Jul 12 2019, 3:47 AM
    • 1 Line
  • rahah@shintaiden:~/mediawiki/core$ php maintenance/migrateActors.php
    Creating actor entries for all registered users
    ... 1 - 5
    PHP Warning: mysqli::query(): MySQL server has gone away in /media/zephyrnia/mediawiki/core/includes/libs/rdbms/database/DatabaseMysqli.php on line 46
    ...
    • Jul 11 2019, 7:21 PM
    • 24 Lines
  • Channel reader thread: compiler1001.puppet-diffs.eqiad.wmflabs
    "Channel reader thread: compiler1001.puppet-diffs.eqiad.wmflabs" Id=444 Group=main WAITING on com.trilead.ssh2.channel.Channel@744c2aa7
    at java.lang.Object.wait(Native Method)
    - waiting on com.trilead.ssh2.channel.Channel@744c2aa7
    ...
    • Jul 11 2019, 9:31 AM
    • 7,719 Lines
  • gerrit.config:
    [its-phabricator]
    url = https://phab.wmflabs.org
    username = paladox
    ...
    • Jul 10 2019, 7:09 PM
    • 16 Lines
  • MediaWiki 1.33.0 Updater
    Your composer.lock file is up to date with current dependencies!
    Going to run database updates for wiki-wiki_
    ...
    • Jul 10 2019, 1:20 PM
    • 483 Lines
  • "com.bigdata.journal.Journal.executorService11205" #21924 daemon prio=5 os_prio=0 tid=0x00007f9964001000 nid=0x45df runnable [0x00007f99f0fd0000]
    java.lang.Thread.State: RUNNABLE
    at java.util.zip.Adler32.updateBytes(Native Method)
    at java.util.zip.Adler32.update(Adler32.java:78)
    at com.bigdata.io.ChecksumUtility.checksum(ChecksumUtility.java:298)
    ...
    • Jul 9 2019, 7:35 PM
    • 53 Lines
  • cmdline: git clone -v ssh://jenkins-bot@gerrit.wikimedia.org:29418/mediawiki/services/restbase /srv/zuul/git/mediawiki/services/restbase
    stderr: 'fatal: destination path '/srv/zuul/git/mediawiki/services/restbase' already exists and is not an empty directory.
    • Jul 9 2019, 3:18 PM
    • 2 Lines
  • puppetmaster1001 ~ % apt-cache policy puppetdb-termini [15:00:36]
    puppetdb-termini:
    Installed: 4.4.0-1~wmf1
    Candidate: 4.4.0-1~wmf2
    Version table:
    ...
    • Jul 9 2019, 3:07 PM
    • 17 Lines
  • Package: puppetdb-terminus
    Architecture: all
    Depends: ${misc:Depends}, puppet-common (>= 3.5.1) | puppet-agent | puppet, libjson-ruby | ruby-jsonDescription:Connect Puppet to PuppetDB by setting up a terminus for PuppetDB.
    Provides: puppetdb-termini
    Replaces: puppetdb-termini
    ...
    • Jul 9 2019, 3:06 PM
    • 6 Lines
  • root@cumin1001:/home/marostegui/git/wmfmariadbpy_new/wmfmariadbpy/wmfmariadbpy# ./switchover.py --only-slave-move db1065.eqiad.wmnet db1132.eqiad.wmnet
    Starting preflight checks...
    * Original read only values are as expected (master: read_only=False, slave: read_only=True)
    * The host to fail over is a direct replica of the master
    * Replication is up and running between the 2 hosts
    ...
    • Jul 9 2019, 5:28 AM
    • 11 Lines
  • @startuml
    title NSFW image scoring
    actor "Wiki admin"
    ...
    • Jul 8 2019, 8:12 PM
    • 27 Lines
  • @startuml
    title Image labeling for Depicts suggestions
    actor Uploader
    ...
    • Jul 8 2019, 8:00 PM
    • 25 Lines
  • Detected heartbeat at db2069.codfw.wmnet running with PID 10645
    Restarting new master replication (both threads)
    Traceback (most recent call last):
    File "./switchover.py", line 626, in <module>
    main()
    ...
    • Jul 8 2019, 3:13 PM
    • 10 Lines
  • + db2096, version: 10.1.39, up: 31d, RO: ON, binlog: ROW, lag: 0, processes: 14, latency: 0.0047
    root@cumin2001:~/wmfmariadbpy/wmfmariadbpy$ ./replication_tree.py db2045
    db2045, version: 10.1.39, up: 31d, RO: ON, binlog: ROW, lag: 0, processes: 14, latency: 0.0041
    + db2069, version: 10.1.39, up: 31d, RO: ON, binlog: ROW, lag: None, processes: 17, latency: 0.0054
    + db2101:3320, version: 10.1.39, up: 31d, RO: ON, binlog: STATEMENT, lag: 0, processes: 20, latency: 0.0038
    ...
    • Jul 8 2019, 3:09 PM
    • 18 Lines
  • ```
    root@install1002:~# reprepro ls stretch-wikimedia
    Error: packages database contains unused 'trusty-wikimedia|main|amd64' database.
    This usually means you removed some component, architecture or even
    a whole distribution from conf/distributions.
    ...
    • Jul 8 2019, 1:35 PM
    • 13 Lines
  • ```
    centrallog1001:~$ sudo apt update
    Get:1 http://apt.wikimedia.org/wikimedia buster-wikimedia InRelease [6,776 B]
    Get:2 http://mirrors.wikimedia.org/debian buster InRelease [118 kB]
    Get:3 http://security-cdn.debian.org/debian-security buster/updates InRelease [39.1 kB]
    ...
    • Jul 8 2019, 12:54 PM
    • 10 Lines
  • diff -u all-labs.dblist labs-sites
    --- all-labs.dblist 2019-07-08 14:10:13.765749832 +0200
    +++ labs-sites 2019-07-08 14:10:46.250056963 +0200
    @@ -2,10 +2,10 @@
    arwiki
    ...
    • Jul 8 2019, 12:11 PM
    • 51 Lines
  • -----------------------------------------------------------------
    arwiki
    -----------------------------------------------------------------
    arwiki: No throttle parameters to normalize.
    arwiki: normalizeThrottleParameter would beautify 16 rows in abuse_filter_history for the following history IDs: 709, 710, 715, 716, 719, 934, 1030, 1031, 1189, 1239, 1240, 1241, 1242, 1244, 1502, 1529
    ...
    • Jul 8 2019, 11:37 AM
    • 103 Lines
  • maurelio@deployment-deploy01:~$ foreachwiki extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php --dry-run
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    aawiki: No throttle parameters to normalize.
    ...
    • Jul 6 2019, 11:10 AM
    • 202 Lines
    • Bash Scripting
  • Feature: action API
    In order to confidently refactor code
    as a developer
    I want to see if the action API works as expected
    ...
    • Jul 5 2019, 4:55 PM
    • 42 Lines
  • -----------------------------------------------------------------
    arwiki
    -----------------------------------------------------------------
    arwiki: No throttle parameters to normalize.
    arwiki: normalizeThrottleParameter would beautify 16 rows in abuse_filter_history for the following history IDs: 709, 710, 715, 716, 719, 934, 1030, 1031, 1189, 1239, 1240, 1241, 1242, 1244, 1502, 1529
    ...
    • Jul 5 2019, 4:34 PM
    • 103 Lines
  • Script started on Fri 05 Jul 2019 03:38:59 PM UTC
    urbanecm@mwmaint1002:~$ foreachwiki extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php --dry-run
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    ...
    • Jul 5 2019, 4:15 PM
    • 4,693 Lines
  • Helooooo!
    6:01 PM It is time for the meeting
    6:02 PM anyone around?
    6:04 PM CFisch_remote → CFisch_NA
    6:07 PM
    ...
    • Jul 5 2019, 3:01 PM
    • 90 Lines
  • <?php
    class CRUDCest {
    public function _before(ApiTester $I) {
    }
    ...
    • Jul 5 2019, 12:50 PM
    • 93 Lines
    • PHP
  • in bet[XR5xh6wQBHcAAGDRUZgAAAAB] /w/index.php?title=Wikipedia:Mentors&action=submit UnexpectedValueException from line 1358 of /srv/mediawiki/php-master/extensions/AbuseFilter/includes/AbuseFilter.php: The specified row must be a full abuse_filter row.
    Backtrace:
    #0 /srv/mediawiki/php-master/extensions/AbuseFilter/includes/AbuseFilter.php(675): AbuseFilter::cacheFilter(string, stdClass)
    ...
    • Jul 4 2019, 9:43 PM
    • 24 Lines
  • script_filename = /srv/mediawiki/w/index.php
    [0x00007ff579c20270] makeBrokenLink() /srv/mediawiki/w/includes/parser/LinkHolderArray.php:397
    [0x00007ff579c20040] replaceInternal() /srv/mediawiki/w/includes/parser/LinkHolderArray.php:272
    [0x00007ff579c1ffe0] replace() /srv/mediawiki/w/includes/parser/Parser.php:5027
    [0x00007ff579c1ff60] replaceLinkHolders() /srv/mediawiki/w/includes/parser/Parser.php:1422
    ...
    • Jul 4 2019, 9:13 PM
    • 21 Lines
  • from wmfmariadbpy.WMFMariaDB import WMFMariaDB
    from wmfmariadbpy.WMFReplication import WMFReplication
    es2001 = WMFMariaDB('es2001')
    es2002 = WMFMariaDB('es2002')
    es2003 = WMFMariaDB('es2003')
    ...
    • Jul 4 2019, 1:58 PM
    • 11 Lines
  • ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/HRNjt8+fpXJHGZGZDISYKesd+hfyJGsC9lmISz25SH9n35bQcFkUbsUJC0hbWf3sKiSK7LbbTrbNoyFWYinNbJpdPiMvk8OaX/plZYKrGCrkrdQjeIouOTfO7ONpDWGUteNvsr5/KtWMlreG/QkIPmi0vQjlxTtgaM7StoKWjatR8+8oxpcG6AX2Se2aXYHGPDDAXAB2HQmSfmfmmxqaQJwe5Tn5t/oA8tLJ0w6xaFpRxgTV4WHfR/v5pml0tNOFtkjw9/B1KgNkk4hg0vhiQABS0aQMBIzicX0LPbRZ/Nd+wTtXzsKS0YHtmk+5pDngcckAlr2QW8Zc6825F8gqrlDGbYNlKYt5sPM0/als2IR8+VLAQXhM8nFWESxCr8Hrvf+EIFFhdne8cQLWNXp8SMCHA4FmdnNEWrlwlF69GOFkveFiinyb0sWkTChDgxaL1BobCwExpgPS8BKfGM0JSKmqVNzeCNsC0TU8RG6ppvkdlYqEHMLeVl2+BLfW+vIAQi9sjNTXSsKlmA7O6icZxa0PkRmn1b0EIgUDwh2JSPUx2uzY/Q9cyrd7birolvkI6CjMnb+7cR/LpWTkjK6L3NkfTDnNhi4Y+nAb4gRQdW5mlBhjlTCs6CXipH3Dyx21Aal0Ul6/MqI9D8fWAHgMKWyw+DAPbl91Q42RpuLNRw== dlynch@wikimedia.org
    • Jul 3 2019, 3:16 PM
    • 1 Line
  • urbanecm@deployment-deploy01:/srv/mediawiki-staging$ sudo -u jenkins-deploy scap sync-file wmf-config/CommonSettings-labs.php 'Not synced yet?'
    ___ ____
    ⎛ ⎛ ,----
    \ //==--'
    _//|,.·//==--' ____________________________
    ...
    • Jul 3 2019, 1:16 PM
    • 42 Lines
  • Script started on Wed 03 Jul 2019 12:40:31 PM UTC
    urbanecm@mwmaint1002:~$ foreachwiki refreshImageMetadata.php --mediatype=AUDIO --mime=audio/mid --force
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    ...
    • Jul 3 2019, 12:52 PM
    • 4,681 Lines
  • Script started on Wed 03 Jul 2019 12:40:31 PM UTC
    urbanecm@mwmaint1002:~$ foreachwiki refreshImageMetadata.php --mediatype=AUDIO --mime=audio/mid --force
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    ...
    • Jul 3 2019, 12:51 PM
    • 4,651 Lines
  • (download) Alienmusic.mid . . 0 × 0 . . 4 KB . . Dshlos . . 05:58, 12 December 2005
    (download) Buxtehude -- Variations on an Aria by Lully (Rofilis).mid . . 0 × 0 . . 4 KB . . AugPi . . 05:54, 12 October 2005
    (download) Domenico Scarlatti -- Sonata (L 263).mid . . 0 × 0 . . 10 KB . . AugPi . . 19:39, 13 October 2005
    (download) EMPEROR.MID . . 0 × 0 . . 17 KB . . Jacob grace . . 23:05, 21 May 2005
    (download) Francois Couperin -- Le Reveille-Matin.mid . . 0 × 0 . . 11 KB . . AugPi . . 04:47, 3 October 2005
    ...
    • Jul 3 2019, 12:28 PM
    • 21 Lines
  • import os
    import sys
    import re
    import subprocess
    from subprocess import PIPE
    ...
    • Jul 2 2019, 4:50 PM
    • 66 Lines
    • Python
  • 2019-07-02 16:48:26,748 DEBUG zuul.stack_dump: Thread: 139978193487616
    File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
    self.__bootstrap_inner()
    File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
    ...
    • Jul 2 2019, 4:49 PM
    • 368 Lines
  • Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Failed to parse template varnish/vcl/wikimedia-common.inc.vcl.erb:
    Filepath: /etc/puppet/modules/varnish/templates/vcl/wikimedia-common.inc.vcl.erb
    Line: 138
    Detail: undefined method `gsub' for :undef:Symbol
    at /etc/puppet/modules/varnish/manifests/wikimedia_vcl.pp:45:24 at /etc/puppet/modules/varnish/manifests/instance.pp:74 on node cp1076.eqiad.wmnet
    ...
    • Jul 2 2019, 4:09 PM
    • 7 Lines
  • void __match_proto__(vcl_func_t)
    VGC_function_wm_common_directors_init(VRT_CTX)
    {
    {
    VRT_count(ctx, 3);
    ...
    • Jul 2 2019, 3:44 PM
    • 30 Lines
  • # python3
    Python 3.7.3 (default, Apr 3 2019, 05:39:12)
    [GCC 8.3.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import WMFMariaDB
    ...
    • Jul 2 2019, 12:46 PM
    • 32 Lines
  • # -*- mode: ruby -*-
    # vi: set ft=ruby :
    Vagrant.configure("2") do |config|
    config.vm.box = "debian/contrib-stretch64"
    ...
    • Jul 2 2019, 10:08 AM
    • 41 Lines
    • Ruby
  • <!DOCTYPE html>
    <html class="client-nojs" lang="en" dir="ltr">
    <head>
    <meta charset="UTF-8"/>
    <title>Internal error - devwiki</title>
    ...
    • Jul 2 2019, 9:16 AM
    • 139 Lines
  • <!DOCTYPE html><html><head><title>Internal Server Error</title></head><body><h1>Internal Server Error</h1><p>[f1a823505e3ea9d69c158506] /w/rest.php/dev.wiki.local.wmftest.net/v3/transform/wikitext/to/html LogicException from line 51 of /vagrant/srv/parsoid/extension/src/Rest/Handler/TransformHandler.php: No title or wikitext was provided.<br />
    Backtrace:<br />
    #0 /vagrant/mediawiki/includes/Rest/Router.php(293): MWParsoid\Rest\Handler\TransformHandler-&gt;execute()<br />
    #1 /vagrant/mediawiki/includes/Rest/Router.php(280): MediaWiki\Rest\Router-&gt;executeHandler(MWParsoid\Rest\Handler\TransformHandler)<br />
    #2 /vagrant/mediawiki/includes/Rest/EntryPoint.php(65): MediaWiki\Rest\Router-&gt;execute(MediaWiki\Rest\RequestFromGlobals)<br />
    ...
    • Jul 2 2019, 9:15 AM
    • 10 Lines
  • -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKBourcpbDepSoYOiGL3KmyiL2NDWWL9c3ro/91Jt2q mutante@seaotter
    -----BEGIN PGP SIGNATURE-----
    ...
    • Jul 2 2019, 2:37 AM
    • 20 Lines
  • ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKBourcpbDepSoYOiGL3KmyiL2NDWWL9c3ro/91Jt2q mutante@seaotter
    • Jul 2 2019, 2:36 AM
    • 1 Line
  • sqlite> select id,uid,created,updated,updated_by,version,slug,title from dashboard where id=464;
    id uid created updated updated_by version slug title
    ---------- ---------- ------------------- ------------------- ---------- ---------- ----------------------------------------------- -----------------------------------------------
    464 000000464 2017-12-19 16:13:32 2019-06-26 15:39:13 81 29 prometheus-varnish-aggregate-client-status-code Prometheus Varnish Aggregate Client Status Code
    sqlite> select id,uid,created,updated,updated_by,version,slug,title from dashboard where uid='000000464';
    ...
    • Jul 1 2019, 5:26 PM
    • 9 Lines
  • java.util.concurrent.ExecutionException: com.google.inject.ProvisionException: Unable to provision, see the following errors:
    1) null returned by binding at com.google.gerrit.server.git.receive.ReplaceOp$Factory.create()
    but the 21st parameter of com.google.gerrit.server.git.receive.ReplaceOp.<init>(ReplaceOp.java:172) is not @Nullable
    at com.google.gerrit.server.git.receive.ReplaceOp$Factory.create(ReplaceOp.java:1)
    while locating com.google.gerrit.reviewdb.client.PatchSet$Id annotated with @com.google.inject.assistedinject.Assisted(value=patchSetId)
    ...
    • Jul 1 2019, 3:49 PM
    • 51 Lines
  • root@traffic-text-stretch:~# run-puppet-agent
    Warning: Unable to fetch my node definition, but the agent run will continue:
    Warning: Error 500 on SERVER: Server Error: Failed to find traffic-text-stretch.traffic.eqiad.wmflabs via exec: Execution of '/usr/local/bin/puppet-enc traffic-text-stretch.traffic.eqiad.wmflabs' returned 1:
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    ...
    • Jul 1 2019, 1:50 PM
    • 9 Lines
  • Site with one or more gadgets;Gadget editors in last 12m;Number of gadgets;Ratio
    ab.wikipedia.org;0;5;0
    ady.wikipedia.org;0;1;0
    af.wikipedia.org;0;8;0
    af.wiktionary.org;0;12;0
    ...
    • Jun 29 2019, 9:53 AM
    • 509 Lines
  • 235 ur.wikipedia.org-allgadgets
    215 fr.wikipedia.org-allgadgets
    211 ar.wikipedia.org-allgadgets
    206 test.wikipedia.org-allgadgets
    195 fa.wikipedia.org-allgadgets
    ...
    • Jun 29 2019, 9:20 AM
    • 933 Lines
  • P8685 V: AL
    legoktm@mw1244:~$ furl --headers https://fixcopyright.wikimedia.org
    [Fri Jun 28 22:53:06 2019] [hphp] [45875:7f90e93623c0:0:000001] []
    Notice: Undefined index: path in /usr/local/bin/furl on line 639
    Status: 301 Moved Permanently
    X-Powered-By: HHVM/3.18.6-dev
    ...
    • Jun 28 2019, 10:54 PM
    • 24 Lines
  • 15:27:19.580208 IP (tos 0x0, ttl 64, id 6231, offset 0, flags [DF], proto TCP (6), length 7244)
    appservers.svc.eqiad.wmnet.http > cp1087.eqiad.wmnet.57917: Flags [P.], cksum 0x62e6 (incorrect -> 0xfb25), seq 2411056:2418248, ack 42668, win 363, options [nop,nop,TS v
    al 514788155 ecr 173847510], length 7192: HTTP, length: 7192
    HTTP/1.1 200 OK
    Date: Fri, 28 Jun 2019 15:27:19 GMT
    ...
    • Jun 28 2019, 3:45 PM
    • 76 Lines
  • #!/usr/bin/env python3
    import re
    import pytricia
    import urllib.request
    ...
    • Jun 28 2019, 2:06 PM
    • 97 Lines
    • Python
  • ladsgroup@mwmaint1002:~$ mwscript eval.php --wiki=commonswiki
    > var_dump( Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getEntitySourceDefinitions() );
    object(Wikibase\DataAccess\EntitySourceDefinitions)#581 (3) {
    ["sources":"Wikibase\DataAccess\EntitySourceDefinitions":private]=>
    array(2) {
    ...
    • Jun 28 2019, 9:21 AM
    • 79 Lines
  • root@language-translate:/var/www/core# php extensions/Translate/scripts/ttmserver-export.php
    23104 0.12 10.0M Forked thread 23105 to handle bootstrapping
    23105 0.16 12.0M Cleaning up old entries...
    Elastica\Exception\ResponseException from line 181 of /var/www/core/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php: unknown key [number_of_shards] for create index
    #0 /var/www/core/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Request.php(193): Elastica\Transport\Http->exec(Object(Elastica\Request), Array)
    ...
    • Jun 28 2019, 7:02 AM
    • 17 Lines
  • [urbanecm@mwmaint1002 ~]$ mwscript namespaceDupes.php --wiki=hewiki --add-prefix=T173070 --fix
    id=848241 ns=0 dbk=וק:NPOV -> ויקיפדיה:T173070NPOV (alternate)
    id=793761 ns=0 dbk=וק:OTRS -> ויקיפדיה:T173070OTRS (alternate)
    id=999271 ns=0 dbk=וק:WLM -> ויקיפדיה:T173070WLM (alternate)
    id=1143416 ns=0 dbk=וק:אלף_מילים -> ויקיפדיה:T173070אלף_מילים (alternate)
    ...
    • Jun 27 2019, 11:58 PM
    • 26 Lines
  • curl 'https://commons.m.wikimedia.org/w/index.php?title=File:Big_Buck_Bunny_medium.ogv' -XGET -H 'Cookie: GeoIP=NL:FL:Almere_Stad:52.40:5.30:v4; WMF-Last-Access=27-Jun-2019; mwPhp7Seed=420; centralauth_Token=81a1faa71946891e1003edf698dfa92b; centralauth_User=TheDJ; forceHTTPS=true; commonswikiUserID=134406; commonswikiUserName=TheDJ' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Host: commons.m.wikimedia.org' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15' -H 'Accept-Language: en-us' -H 'Accept-Encoding: br, gzip, deflate' -H 'Connection: keep-alive' -v
    Note: Unnecessary use of -X or --request, GET is already inferred.
    * Trying 91.198.174.192...
    * TCP_NODELAY set
    * Connected to commons.m.wikimedia.org (91.198.174.192) port 443 (#0)
    ...
    • Jun 27 2019, 9:09 PM
    • 49 Lines
  • tools.stewardbots@tools-sgebastion-07:~$ cat error.log
    2019-06-27 20:57:29: (log.c.217) server started
    2019-06-27 20:58:05: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /data/project/stewardbots/public_html/hat-web-tool/delete.php:22
    2019-06-27 20:58:05: (mod_fastcgi.c.2543) FastCGI-stderr: Stack trace:
    2019-06-27 20:58:05: (mod_fastcgi.c.2543) FastCGI-stderr: #0 {main}
    ...
    • Jun 27 2019, 9:07 PM
    • 10 Lines
  • Script started on Thu 27 Jun 2019 07:22:36 PM UTC
    urbanecm@mwmaint1002:~$ foreachwikiindblist T173070.dblist namespaceDupes.php --fix --add-prefix=T173070
    -----------------------------------------------------------------
    angwiki
    -----------------------------------------------------------------
    ...
    • Jun 27 2019, 8:02 PM
    • 865 Lines
  • Script started on Thu 27 Jun 2019 06:07:35 PM UTC
    urbanecm@mwmaint1002:~$ foreachwiki namespaceDupes.php --fix
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    ...
    • Jun 27 2019, 8:01 PM
    • 17,541 Lines
  • > var_dump( Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getEntitySourceDefinitions() );
    object(Wikibase\DataAccess\EntitySourceDefinitions)#603 (3) {
    ["sources":"Wikibase\DataAccess\EntitySourceDefinitions":private]=>
    array(1) {
    [0]=>
    ...
    • Jun 27 2019, 7:44 PM
    • 58 Lines
  • angwiki
    avwiki
    bhwiki
    cbk_zamwiki
    commonswiki
    ...
    • Jun 27 2019, 7:21 PM
    • 52 Lines
  • Test message with 'quotes' and ∞ unicode
    • Jun 27 2019, 4:28 PM
    • 1 Line
  • P8670 test
    test
    • Jun 27 2019, 3:47 PM
    • 1 Line
    • Jun 27 2019, 3:47 PM
    • 1 Line
    • Jun 27 2019, 3:47 PM
    • 1 Line
    • Jun 27 2019, 3:29 PM
    • 1 Line
    • Jun 27 2019, 3:28 PM
    • 1 Line
    • Jun 27 2019, 3:02 PM
    • 1 Line
  • 1.|-- 51.15.179.1 0.0% 10 0.4 0.4 0.4 0.5 0.0
    2.|-- 51.158.8.58 0.0% 10 0.4 0.5 0.4 0.5 0.0
    3.|-- 195.154.2.198 0.0% 10 1.5 1.5 1.2 1.6 0.0
    4.|-- 37.49.237.180 0.0% 10 1.5 1.9 1.4 5.9 1.2
    5.|-- 64.125.29.94 0.0% 10 78.7 78.7 78.7 78.7 0.0
    ...
    • Jun 27 2019, 2:45 PM
    • 10 Lines
  • root@db1075[sys]> select table_schema, sum(total_latency) as latency FROM x$schema_table_statistics GROUP BY table_schema ORDER BY latency DESC LIMIT 20;
    +---------------+-------------------+
    | table_schema | latency |
    +---------------+-------------------+
    | loginwiki | 27408946574524658 |
    ...
    • Jun 27 2019, 7:45 AM
    • 80 Lines
  • root@db1115.eqiad.wmnet[zarcillo]> select file_path, sum(size) as size FROM backup_files where backup_id = 1901 GROUP BY file_path ORDER BY SIZE DESC LIMIT 20;
    +---------------+-------------+
    | file_path | size |
    +---------------+-------------+
    | ruwiktionary | 24144430804 |
    ...
    • Jun 27 2019, 7:36 AM
    • 53 Lines
  • root@db1115.eqiad.wmnet[zarcillo]> select SUBSTRING_INDEX(file_name, '.', 1) as db, sum(size) as size FROM backup_files WHERE backup_id = 1862 and file_name not like '%-schema-create.sql.gz' GROUP BY db ORDER BY size desc LIMIT 20;
    +---------------+------------+
    | db | size |
    +---------------+------------+
    | mediawikiwiki | 4539665654 |
    ...
    • Jun 27 2019, 7:30 AM
    • 53 Lines
  • root@cumin1001:~$ ./generate_targets_prometheus_mysqld_exporter.py codfw
    mysql-core_codfw.yaml:
    - labels:
    role: standalone
    ...
    • Jun 26 2019, 9:53 AM
    • 339 Lines
  • root@cumin1001:~$ ./generate_targets_prometheus_mysqld_exporter.py eqiad
    mysql-core_eqiad.yaml:
    - labels:
    role: standalone
    ...
    • Jun 26 2019, 9:05 AM
    • 389 Lines
  • legoktm@mwmaint1002:~$ foreachwikiindblist large sql.php babel_size.sql --json
    -----------------------------------------------------------------
    arwiki
    -----------------------------------------------------------------
    arwiki: [
    ...
    • Jun 25 2019, 5:58 PM
    • 351 Lines
  • -- Looking for timer_delete in rt
    -- Looking for timer_delete in rt - found
    -- Performing Test HAVE_THREAD_LOCAL
    -- Performing Test HAVE_THREAD_LOCAL - Success
    -- Performing Test HAVE_FALLOCATE
    ...
    • Jun 25 2019, 1:49 PM
    • 23 Lines
  • root@db1117:~# mysql -S /run/mysqld/mysqld.m5.sock -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db1073.eqiad.wmnet
    Master_User: repl
    ...
    • Jun 25 2019, 12:50 PM
    • 49 Lines
  • * << Request >> 498514655
    - Begin req 498514654 rxreq
    - Timestamp Start: 1561461904.577185 0.000000 0.000000
    - Timestamp Req: 1561461904.577185 0.000000 0.000000
    - ReqStart 10.20.0.180 19359
    ...
    • Jun 25 2019, 11:32 AM
    • 213 Lines
  • Trying to figure out what the hell is the reason those icmp redirects get discarded https://grafana.wikimedia.org/d/PRA2F67Zz/t226237?orgId=1
    Adding a trace
    ```
    ...
    • Jun 25 2019, 9:21 AM
    • 52 Lines
    • Bash Scripting
  • SELECT
    useragent.browser_family,
    useragent.browser_major,
    PERCENTILE(event.loadEventEnd, 0.5) AS median,
    PERCENTILE(event.loadEventEnd, 0.9) AS p90,
    ...
    • Jun 25 2019, 9:02 AM
    • 30 Lines
    • SQL
  • SELECT
    PERCENTILE(event.loadEventEnd, 0.5) AS median,
    PERCENTILE(event.loadEventEnd, 0.9) AS p90,
    PERCENTILE(event.loadEventEnd, 0.95) AS p95,
    COUNT(*) AS count
    ...
    • Jun 25 2019, 8:27 AM
    • 75 Lines
    • SQL
  • 2019-06-24 18:24:33.972 34835 ERROR oslo_messaging.rpc.dispatcher [req-113aafde-3eae-4311-a89a-f068e9661763 novaadmin admin - - -] Exception during message handling: internal error: process exited while connecting to monitor: 2019-06-24T18:24:33.645499Z qemu-system-x86_64: Property '.md-clear' not found
    2019-06-24 18:24:33.972 34835 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
    2019-06-24 18:24:33.972 34835 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
    2019-06-24 18:24:33.972 34835 ERROR oslo_messaging.rpc.dispatcher incoming.message))
    2019-06-24 18:24:33.972 34835 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
    ...
    • Jun 24 2019, 6:32 PM
    • 240 Lines
  • Here's a list of items that Andy will need.
    [x] Create shell user
    [ ] Access to deployment hosts
    [ ] Access to beta hosts
    ...
    • Jun 24 2019, 3:23 PM
    • 13 Lines
  • reedy@deploy1001:/srv/mediawiki-staging$ mwscript eval.php enwiki
    > var_dump( $wgExtensionFunctions );
    array(21) {
    [0]=>
    string(38) "FlaggedRevsHooks::onExtensionFunctions"
    ...
    • Jun 24 2019, 2:57 PM
    • 53 Lines
  • P8645 db1107
    UEFI0107: One or more memory errors have occurred on memory slot: A3.
    Remove input power to the system, reseat the DIMM module and restart the
    system. If the issues persist, replace the faulty memory module identified in
    the message.
    ...
    • Jun 24 2019, 8:21 AM
    • 24 Lines
  • root@db1117:~# mysql -S /run/mysqld/mysqld.m1.sock -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db1063.eqiad.wmnet
    Master_User: repl
    ...
    • Jun 24 2019, 6:02 AM
    • 49 Lines
  • <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!-- Created with Inkscape (http://www.inkscape.org/) -->
    <svg
    xmlns:svg="http://www.w3.org/2000/svg"
    xmlns="http://www.w3.org/2000/svg"
    ...
    • Jun 21 2019, 8:17 PM
    • 252 Lines
    • XML
  • P8641 TOP
    Tasks: 350 total, 3 running, 345 sleeping, 0 stopped, 2 zombie
    %Cpu(s): 8.0 us, 3.7 sy, 0.0 ni, 88.2 id, 0.1 wa, 0.0 hi, 0.1 si, 0.0 st
    GiB Mem : 31.296 total, 8.132 free, 9.593 used, 13.571 buff/cache
    GiB Swap: 0.000 total, 0.000 free, 0.000 used. 19.057 avail Mem
    ...
    • Jun 21 2019, 5:11 PM
    • 29 Lines
    • Plain Text
  • DEBUG:quibble.cmd:Running stages: selenium
    WARNING:quibble.cmd:ZUUL_PROJECT not set. Assuming mediawiki/core
    INFO:quibble.cmd:Adding mediawiki/vendor
    INFO:quibble.cmd:Projects: mediawiki/core, mediawiki/skins/Vector, mediawiki/vendor
    DEBUG:quibble.cmd:Execution plan:
    ...
    • Jun 21 2019, 5:10 PM
    • 33 Lines
  • From a VM and a bare-metal server each applying only applying a base role:
    ...
    • Jun 21 2019, 3:56 PM
    • 180 Lines
  • 174 projects total
    Number of classes used in a project: number of projects
    Projects with 0 class(es): 72
    ...
    • Jun 21 2019, 3:54 PM
    • 242 Lines
  • # sudo varnishd -F -b 127.0.0.1:6533 -p first_byte_timeout=1
    # time curl -v http://127.0.0.1:80/
    import time
    from flask import Flask, Response
    ...
    • Jun 21 2019, 5:27 AM
    • 25 Lines
  • #!/usr/bin/python3
    import os
    import requests
    ...
    • Jun 21 2019, 5:17 AM
    • 27 Lines
  • Host bastion.wmf
    Hostname bast1002.wikimedia.org
    Host *.eqiad.wmnet
    ProxyCommand ssh -a -W %h:%p bastion.wmf
    ...
    • Jun 20 2019, 5:14 PM
    • 10 Lines