Page MenuHomePhabricator
Paste Active Pastes
  • 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
  • On a given not-to-special wiki (not Commons, not Wikidata), the below tables
    are available. Note that some wikis have additional tables from optional extensions;
    these should be added to the list later and checked.
    left to review:
    ...
    • Jun 20 2019, 12:27 PM
    • 138 Lines
  • [{"target": "MediaWiki.FileImporter.error.byRecoverable.false.byType.duplicateFiles.sum", "datapoints": [[1.0, 1560924000], [1.0, 1560924900], [1.0, 1560926400], [1.0, 1560926700], [2.0, 1560927000], [1.0, 1560927300], [1.0, 1560932100]]}]
    • Jun 19 2019, 1:28 PM
    • 1 Line
    • JSON
  • [{"target": "MediaWiki.FileImporter.error.byRecoverable.false.byType.duplicateFiles.sum", "datapoints": [[null, 1560895380], [null, 1560895920], [null, 1560896460], [null, 1560897000], [null, 1560897540], [null, 1560898080], [null, 1560898620], [null, 1560899160], [null, 1560899700], [null, 1560900240], [null, 1560900780], [null, 1560901320], [null, 1560901860], [null, 1560902400], [null, 1560902940], [null, 1560903480], [null, 1560904020], [null, 1560904560], [null, 1560905100], [null, 1560905640], [null, 1560906180], [null, 1560906720], [null, 1560907260], [null, 1560907800], [null, 1560908340], [null, 1560908880], [null, 1560909420], [null, 1560909960], [null, 1560910500], [null, 1560911040], [null, 1560911580], [null, 1560912120], [null, 1560912660], [null, 1560913200], [null, 1560913740], [null, 1560914280], [null, 1560914820], [null, 1560915360], [null, 1560915900], [null, 1560916440], [null, 1560916980], [null, 1560917520], [null, 1560918060], [null, 1560918600], [null, 1560919140], [null, 1560919680]...
    • Jun 19 2019, 12:32 PM
    • 1 Line
    • JSON
  • [{"target": "MediaWiki.FileImporter.error.byRecoverable.false.byType.duplicateFiles.sum", "datapoints": [[null, 1560895380], [null, 1560895560], [null, 1560895740], [null, 1560895920], [null, 1560896100], [null, 1560896280], [null, 1560896460], [null, 1560896640], [null, 1560896820], [null, 1560897000], [null, 1560897180], [null, 1560897360], [null, 1560897540], [null, 1560897720], [null, 1560897900], [null, 1560898080], [null, 1560898260], [null, 1560898440], [null, 1560898620], [null, 1560898800], [null, 1560898980], [null, 1560899160], [null, 1560899340], [null, 1560899520], [null, 1560899700], [null, 1560899880], [null, 1560900060], [null, 1560900240], [null, 1560900420], [null, 1560900600], [null, 1560900780], [null, 1560900960], [null, 1560901140], [null, 1560901320], [null, 1560901500], [null, 1560901680], [null, 1560901860], [null, 1560902040], [null, 1560902220], [null, 1560902400], [null, 1560902580], [null, 1560902760], [null, 1560902940], [null, 1560903120], [null, 1560903300], [null, 1560903480]...
    • Jun 19 2019, 12:31 PM
    • 1 Line
    • JSON
  • root@db1077:~# mysql -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db1075.eqiad.wmnet
    Master_User: repl
    ...
    • Jun 19 2019, 6:58 AM
    • 49 Lines
  • diff --git a/maintenance/generateLocalAutoload.php b/maintenance/generateLocalAutoload.php
    index 19b7ee5a87..dca2574429 100644
    --- a/maintenance/generateLocalAutoload.php
    +++ b/maintenance/generateLocalAutoload.php
    @@ -7,6 +7,8 @@ if ( PHP_SAPI != 'cli' && PHP_SAPI != 'phpdbg' ) {
    ...
    • Jun 18 2019, 7:51 PM
    • 25 Lines
    • Diff
  • # These define the full path name for the specified object (basically the second argument to the handler function).
    TABLE_ALIASES = {
    'sites': 'dcim.sites',
    'regions': 'dcim.regions',
    'tenants': 'tenancy.tenants',
    ...
    • Jun 18 2019, 6:10 PM
    • 32 Lines
  • 'use strict';
    const assert = require( 'assert' ),
    // this is just a sample on how to use a page
    VersionPage = require( '../pageobjects/version.page' );
    ...
    • Jun 18 2019, 11:51 AM
    • 18 Lines
    • Javascript
  • 'use strict';
    const Page = require( 'wdio-mediawiki/Page' );
    // this is just a sample on how to create a page
    ...
    • Jun 18 2019, 11:50 AM
    • 16 Lines
    • Javascript
  • 'use strict';
    const { config } = require( 'wdio-mediawiki/wdio-defaults.conf.js' );
    exports.config = { ...config
    ...
    • Jun 18 2019, 11:31 AM
    • 11 Lines
    • Javascript
  • {
    "root": true,
    "extends": [
    "wikimedia/selenium"
    ]
    ...
    • Jun 18 2019, 11:30 AM
    • 6 Lines
    • JSON
  • {
    "scripts": {
    "selenium-daily": "npm run selenium-test",
    "selenium-test": "wdio tests/selenium/wdio.conf.js"
    },
    ...
    • Jun 18 2019, 11:28 AM
    • 16 Lines
    • JSON
  • root@db1112:~# mysql -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db1111.eqiad.wmnet
    Master_User: repl
    ...
    • Jun 18 2019, 5:57 AM
    • 49 Lines
  • # Start a pyspark shell
    # pyspark2 --master yarn --executor-memory 16G --executor-cores 4 --driver-memory 16G
    # a dataset created by joal that links page IDs with wikidata item ID. See https://phabricator.wikimedia.org/T215616
    wikidataParquetPath = '/user/joal/wmf/data/wmf/wikidata/item_page_link/20190204'
    ...
    • Jun 17 2019, 7:21 PM
    • 32 Lines
    • Python
  • #! /bin/bash
    DESCRIPTION="Get page IDs of articles translated by Toledo"
    THISSCRIPTFILE=`basename "$0"`
    RESULTSFILE=~/${THISSCRIPTFILE%.*}_result.txt
    { date ; echo = ; TZ='America/Los_Angeles' date ; echo generated by $THISSCRIPTFILE on $HOSTNAME ;
    ...
    • Jun 17 2019, 7:13 PM
    • 48 Lines
    • Shell
  • Jun 17 15:06:37 traffic-upload-stretch systemd[1]: Reloading Apache Traffic Server is a fast, scalable and extensible caching proxy server..
    Jun 17 15:06:37 traffic-upload-stretch systemd[1]: Reloaded Apache Traffic Server is a fast, scalable and extensible caching proxy server..
    Jun 17 15:07:19 traffic-upload-stretch traffic_manager[1844]: [TrafficManager] ==> Cleaning up and reissuing signal #15
    Jun 17 15:07:19 traffic-upload-stretch traffic_manager[1844]: [Jun 17 15:07:19.384] {0x7f85109364c0} NOTE: [TrafficManager] ==> Cleaning up and reissuing signal #15
    Jun 17 15:07:19 traffic-upload-stretch systemd[1]: Stopping Apache Traffic Server is a fast, scalable and extensible caching proxy server....
    ...
    • Jun 17 2019, 3:08 PM
    • 44 Lines
  • root@db2107:~# mysql -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db2035.codfw.wmnet
    Master_User: repl
    ...
    • Jun 17 2019, 5:17 AM
    • 49 Lines
  • gjg@phab1003:/srv/phab/phabricator$ ./bin/bulk make-silent --id 1819
    [2019-06-14 17:51:08] EXCEPTION: (PhabricatorClusterStrandedException) Unable to establish a connection to any database host (while trying "phabricator_config"). All masters and replicas are completely unreachable.
    AphrontInvalidCredentialsQueryException: #1045: Access denied for user 'root'@'10.64.32.157' (using password: NO) at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:164]
    • Jun 14 2019, 6:05 PM
    • 4 Lines
  • gjg@phab1003:/srv/phab/phabricator/bin$ ls -al
    total 8
    drwxr-xr-x 2 phab-deploy phab-deploy 4096 May 23 00:27 .
    drwxr-xr-x 10 phab-deploy phab-deploy 4096 Apr 19 19:56 ..
    lrwxrwxrwx 1 phab-deploy phab-deploy 33 Apr 19 19:56 accountadmin -> ../scripts/user/account_admin.php
    ...
    • Jun 14 2019, 5:34 PM
    • 46 Lines
  • DRIIIIGGG!!!!
    6:01 PM I can hear church bells from my window ;) it is time for the meeting. Let's do this!
    6:02 PM
    <mahveotm_> mahveotm Hi @rosalie good evening!
    6:02 PM
    ...
    • Jun 14 2019, 9:00 AM
    • 134 Lines
  • for (String token : tokens) {
    List<String> elements = Lists.newArrayList(token);
    suggCM.add(elements);
    if (token.length() == 1) {
    Collection<String> confusions = confusion.value().get(token);
    ...
    • Jun 13 2019, 9:49 PM
    • 10 Lines
  • public Map<String, Collection<String>> confusions() throws IOException {
    Map<String, Collection<String>> res = new HashMap<>();
    for (CSVRecord record : parse(M2Resources.CONFUSIONS)) {
    String from = record.get("charFrom");
    String to = record.get("charTo");
    ...
    • Jun 13 2019, 9:38 PM
    • 9 Lines
  • const fs = require('fs'),
    ArgumentParser = require('argparse').ArgumentParser,
    sqlite = require('sqlite'); // https://github.com/kriasoft/node-sqlite
    async function createTemplate(db, from, to, templateName) {
    ...
    • Jun 13 2019, 11:22 AM
    • 98 Lines
    • Javascript
  • {
    port: 8125
    , backends: [ "./backends/console" ]
    , deleteIdleStats: true
    , dumpMessages: true
    ...
    • Jun 13 2019, 10:01 AM
    • 7 Lines
    • JSON
  • arcwiki: 1
    arwiki: 1
    azwiki: 3
    bgwiki: 5
    cawiki: 1
    ...
    • Jun 11 2019, 10:23 PM
    • 47 Lines
  • #!/usr/bin/env bash
    #
    # Gerrit Username To Lowercase
    # =====================
    #
    ...
    • Jun 11 2019, 7:27 PM
    • 68 Lines
    • Bash Scripting
  • requests.get(
    "https://wikimedia.org/api/rest_v1/metrics/edited-pages/new/all-projects/" +
    "all-editor-types/content/monthly/20190501/20190601"
    ).json()["items"][0]["results"]
    ...
    • Jun 11 2019, 6:20 PM
    • 10 Lines
  • #!/usr/bin/env python
    #
    # Finds all docker images without the latest tag
    #
    # Use like:
    ...
    • Jun 10 2019, 7:01 PM
    • 21 Lines
  • P8603 Perf demo
    DONE
    -array_map *with lambdas* https://3v4l.org/fmBPD - https://3v4l.org/LdeNS
    -$db->select inside loops
    -function calls in loop cond e.g. for ( $i = 0; $i < count( $x ) )
    -preg_match/preg_match_all/preg_replace used with plain strings (->strpos,str_replace)
    ...
    • Jun 10 2019, 11:51 AM
    • 34 Lines
  • 13:05:05.095388 http.c:586 == Info: Couldn't find host gerrit.wikimedia.org in the .netrc file; using defaults
    13:05:05.217609 http.c:586 == Info: Trying 208.80.154.85...
    13:05:05.217642 http.c:586 == Info: TCP_NODELAY set
    13:05:05.351779 http.c:586 == Info: Connected to gerrit.wikimedia.org (208.80.154.85) port 443 (#0)
    13:05:05.359219 http.c:586 == Info: found 166 certificates in /etc/ssl/certs/ca-certificates.crt
    ...
    • Jun 8 2019, 11:09 AM
    • 64 Lines
    • Plain Text
  • 13:03:57.223222 http.c:586 == Info: Couldn't find host gerrit.wikimedia.org in the .netrc file; using defaults
    13:03:57.226687 http.c:586 == Info: Trying 208.80.154.85...
    13:03:57.226718 http.c:586 == Info: TCP_NODELAY set
    13:03:57.305911 http.c:586 == Info: Connected to gerrit.wikimedia.org (208.80.154.85) port 443 (#0)
    13:03:57.323077 http.c:586 == Info: found 166 certificates in /etc/ssl/certs/ca-certificates.crt
    ...
    • Jun 8 2019, 11:09 AM
    • 64 Lines
    • Plain Text
  • # For https://gerrit.wikimedia.org/r/#/c/integration/quibble/+/513515/3/quibble/test.py
    from time import sleep
    from multiprocessing import Pool
    from random import random
    ...
    • Jun 7 2019, 9:29 PM
    • 23 Lines
    • Python
  • [*] Fetching en-wp.com/9e7e6c5f-bc1a-4e41-8744-dd3c6952a97e
    [*] Fetching en-wp.com/9e7e6c5f-bc1a-4e41-8744-dd3c6952a97e from 127.0.0.1:3128
    [*] Fetching www.en-wp.com/c55b7efe-8e44-4d36-9a5e-d1422ec4b0dd
    [*] Fetching www.en-wp.com/c55b7efe-8e44-4d36-9a5e-d1422ec4b0dd from 127.0.0.1:3128
    [*] Fetching en-wp.org/d328cc92-7cbe-4ed3-8a89-8c3cf0ce6bc1
    ...
    • Jun 7 2019, 1:17 PM
    • 434 Lines
  • root@puppetmaster1001:~# puppet-merge
    Fetching new commits from https://gerrit.wikimedia.org/r/operations/puppet
    remote: Counting objects: 9737, done
    remote: Finding sources: 100% (6/6)
    remote: Getting sizes: 100% (2/2)
    ...
    • Jun 7 2019, 10:33 AM
    • 175 Lines
  • diff --git a/includes/logging/LogEventsList.php b/includes/logging/LogEventsList.php
    index a6d15eb..190e150 100644
    --- a/includes/logging/LogEventsList.php
    +++ b/includes/logging/LogEventsList.php
    @@ -23,6 +23,8 @@
    ...
    • Jun 7 2019, 12:56 AM
    • 13 Lines
    • Diff