Page MenuHomePhabricator
Paste Active Pastes
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Nov 13 2018, 12:33 PM
    • 33 Lines
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Nov 13 2018, 12:32 PM
    • 27 Lines
  • ^[[Aroot@cumin1001:/home/marostegui# mysql.py -hpc2004 -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1004.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 13 2018, 9:41 AM
    • 46 Lines
  • *************************** 12. row ***************************
    Trigger: user_update
    Event: UPDATE
    Table: user
    Statement: SET NEW.user_password = '', NEW.user_newpassword = '', NEW.user_email = '', NEW.user_options = '', NEW.user_token = '', NEW.user_email_authenticated = '', NEW.user_email_token = '', NEW.user_email_token_expires = '', NEW.user_newpass_time = ''
    ...
    • Nov 13 2018, 8:22 AM
    • 12 Lines
  • root@pc2004.codfw.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1004.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 13 2018, 5:44 AM
    • 46 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' '[ $(grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l) -gt 0 ] && echo 😠 || echo 🙂'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 6:32 PM
    • 13 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' '[ $(grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l) -ge 10 ] && echo too hot || echo ok'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 5:53 PM
    • 13 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' 'grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 5:46 PM
    • 105 Lines
  • digraph dependencies{
    "site" -> "site.styles"
    "user.groups" -> "user"
    "user.options" -> "user.defaults"
    "mediawiki.base" -> "jquery"
    ...
    • Nov 12 2018, 10:38 AM
    • 1,694 Lines
  • ve.createDeferred = function () {
    var deferred = {},
    promise = new Promise( function ( resolve, reject ) {
    deferred.resolve = function ( value ) {
    if ( arguments.length > 1 ) {
    ...
    • Nov 11 2018, 3:47 PM
    • 32 Lines
    • Javascript
  • 2019-01-25 16:10:52 ** r054l13 joined channel
    2019-01-25 16:10:58 <r054l13> Hello
    2019-01-25 16:12:14 <r054l13> Sorry am late for the meeting
    2019-01-25 16:12:23 <r054l13> Is anyone arround?
    2019-01-25 16:12:42 <r054l13> africanhope: hey!
    ...
    • Nov 10 2018, 9:43 PM
    • 196 Lines
  • zoran@zoran-notebook:~/development/core$ python3 pwb.py version
    Pywikibot: [ssh] pywikibot-core (73f07ba, g10390, 2018/11/09, 09:23:55, ok)
    Release version: 3.1.dev0
    requests version: 2.18.4
    cacerts: /etc/ssl/certs/ca-certificates.crt
    ...
    • Nov 9 2018, 9:49 PM
    • 19 Lines
    • Bash Scripting
  • zoran@zoran-notebook:~/development/core$ nano user-config.py
    zoran@zoran-notebook:~/development/core$ python3 pwb.py login
    Password for user Zoranzoki21 on wikipedia:sr (no characters will be shown):
    Logging in to wikipedia:sr as Zoranzoki21
    ERROR: Login failed (Failed). Incorrect username or password entered. Please try again.
    ...
    • Nov 9 2018, 9:38 PM
    • 6 Lines
    • Bash Scripting
  • zoran@zoran-notebook:~/development/core$ nano user-config.py
    zoran@zoran-notebook:~/development/core$ python3 pwb.py login
    Password for user Zoranzoki21 on wikipedia:sr (no characters will be shown):
    Logging in to wikipedia:sr as Zoranzoki21
    ERROR: Login failed (Failed).
    ...
    • Nov 9 2018, 9:35 PM
    • 36 Lines
  • kartik@deploy1001:/srv/deployment/cxserver/deploy$ scap deploy 'Update cxserver to 01686f6 (T208831)'
    12:16:23 Started deploy [cxserver/deploy@fc21164]
    12:16:23 Deploying Rev: HEAD = fc2116474adfb15b16ede856699dee843dc50d13
    12:16:23 Started deploy [cxserver/deploy@fc21164]: Update cxserver to 01686f6 (T208831)
    12:16:23
    ...
    • Nov 9 2018, 12:20 PM
    • 27 Lines
  • Package: python3-etcd
    Source: python-etcd
    Version: 0.4.3-3
    Architecture: amd64
    Maintainer: Giuseppe Lavagetto <glavagetto@wikimedia.org>
    ...
    • Nov 9 2018, 8:21 AM
    • 43 Lines
  • P7781 clean.sh
    #!/usr/bin/env bash
    # remove builds older than 60 days for 25 largest build directories
    while read dir; do
    sudo find ${dir} -maxdepth 1 -type d -regex '.*/[1-9][0-9]+' -mtime +60 -exec rm -r "{}" \;
    ...
    • Nov 8 2018, 10:52 PM
    • 16 Lines
  • TypeError from line 144 of /srv/mediawiki/w/extensions/CentralAuth/includes/CentralAuthUser.php: Argument 1 passed to CentralAuthUser::getMasterInstance() must be an instance of User, null given, called in /srv/mediawiki/w/extensions/Flow/includes/TalkpageManager.php on line 254
    • Nov 8 2018, 7:21 PM
    • 1 Line
  • <section id="cxTargetSection34" data-mw-cx-source="undefined">
    <p id="mwkw">
    <span data-segmentid="221" class="cx-segment">In the United Kingdom, he has been appointed a (KBE) in 2012.
    <span
    ...
    • Nov 8 2018, 11:17 AM
    • 16 Lines
    • HTML
  • PHP Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    PHP Warning: XMLReader::next(): </mediawiki> in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    ...
    • Nov 7 2018, 11:06 PM
    • 10 Lines
  • {'train//query/dismax/constant_score/labels.en.near_match:0': 0.8396603457898502,
    'train//query/dismax/constant_score/labels.en.near_match_folded:0': 0.16766052124049471,
    'train//query/dismax/constant_score/labels.en.prefix:0': 0.7602684936668805,
    'train//query/dismax/constant_score/labels_all.near_match_folded:0': -0.8356064191936947,
    'train//query/query_weight:0': 0.4421499716413143,
    ...
    • Nov 7 2018, 10:51 PM
    • 11 Lines
  • [thcipriani@deployment-deploy01 mediawiki-staging (master % u=)]$ printf '%s\n%s\n' "$(cat ~/omg)" 'it works again' | scap say -n --color --eyes ಠಠ
    --------------------
    / \
    | ___ __ __ ____ |
    | / _ \| \/ |/ ___||
    ...
    • Nov 7 2018, 6:06 PM
    • 24 Lines
  • alex@alex-laptop:~/.config/hexchat/logs$ grep shinken-wm freenode/#wikimedia-releng.log | grep SSH | grep Nov
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    ...
    • Nov 7 2018, 4:56 PM
    • 38 Lines
  • <?php
    // Get commits between 27cb4c5 and master HEAD includes the Hash
    shell_exec('git checkout master');
    `git log 27cb4c5..master --merges --oneline --pretty=format:"%h" --output commits.text`;
    $commits = explode("\n", file_get_contents('commits.text'));
    ...
    • Nov 7 2018, 2:21 AM
    • 35 Lines
    • PHP
  • atjwiki MediaWiki:Common.js
    azbwiki MediaWiki:Common.js
    azbwiki MediaWiki:Gadget-UserMessages.js
    bawiki MediaWiki:Common.js/documentation tab.js
    bhwiki MediaWiki:Common.js
    ...
    • Nov 6 2018, 7:38 PM
    • 72 Lines
  • Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Traceback (most recent call last):
    File "/srv/home/bmansurov/venv/3/lib/python3.5/site-packages/traitlets/traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
    KeyError: 'allow_remote_access'
    ...
    • Nov 6 2018, 6:22 PM
    • 44 Lines
  • Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) -allowed_hosts=127.0.0.1,172.16.1.180
    Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) +allowed_hosts=208.80.153.74,2620:0:860:3:208:80:153:74,208.80.155.119,2620:0:861:4:208:80:155:119,208.80.154.84,2620:0:861:3:208:80:154:84,208.80.154.82,2620:0:861:3:208:80:154:82,208.80.153.52,2620:0:860:2:208:80:153:52
    • Nov 6 2018, 4:55 PM
    • 2 Lines
  • Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Number of certificates per status: Counter({'INITIAL': 2})
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / rsa-2048
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / ec-prime256v1
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Starting main loop...
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Handling new certificate event for pinkunicorn / rsa-2048
    ...
    • Nov 6 2018, 4:52 PM
    • 51 Lines
  • import re
    from scapy.all import *
    data = 'poolcounter.dump'
    ...
    • Nov 5 2018, 4:05 PM
    • 48 Lines
    • Python
  • FROM debian:stretch
    # Used to me jessie, change to stretch
    MAINTAINER Andrew Otto <otto@wikimedia.org>
    ...
    • Nov 4 2018, 2:53 PM
    • 67 Lines
  • {
    "_readme": [
    "This file locks the dependencies of your project to a known state",
    "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    "This file is @generated automatically"
    ...
    • Nov 4 2018, 2:47 PM
    • 1,804 Lines
  • // Jeśli gadżet jest włączony, poczekaj, aż się załaduje
    mw.loader.using( 'user.options' )
    .then( function () {
    if ( mw.user.options.get( 'gadget-foo' ) ) {
    return mw.loader.using( 'ext.gadget.foo' );
    ...
    • Nov 2 2018, 11:10 AM
    • 13 Lines
  • # To display the perf.data header info, please use --header/--header-only options.
    #
    #
    # Total Lost Samples: 0
    #
    ...
    • Nov 1 2018, 9:40 PM
    • 181 Lines
  • $ curl -v https://wm-bot.wmflabs.org/browser/index.php
    * Trying 208.80.155.156...
    * TCP_NODELAY set
    * Connected to wm-bot.wmflabs.org (208.80.155.156) port 443 (#0)
    * ALPN, offering h2
    ...
    • Nov 1 2018, 4:41 PM
    • 46 Lines
    • Plain Text
  • select
    event.action,
    event.feature,
    count(*)
    from event.visualeditorfeatureuse
    ...
    • Nov 1 2018, 2:34 PM
    • 87 Lines
  • post https://phabricator.wikimedia.org/api/maniphest.search
    request:
    {"queryKey": "GTbIUdDaMLqV", "limit": 1 }
    ...
    • Oct 31 2018, 5:41 PM
    • 18 Lines
    • Remarkup
  • Oct 31 15:49:33 certcentral1001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral1001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral1001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: SIGHUP received
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:04 PM
    • 150 Lines
  • Oct 31 15:49:33 certcentral2001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral2001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral2001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: SIGHUP received
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:02 PM
    • 22 Lines
  • root@pc1004[parsercache]> SELECT DATE_FORMAT(exptime, '%Y-%m-%d') as day, count(*) as num FROM pc000 GROUP BY day;
    +------------+-------+
    | day | num |
    +------------+-------+
    | 2018-10-31 | 22053 |
    ...
    • Oct 31 2018, 11:21 AM
    • 151 Lines
  • diff --git a/.gitignore b/.gitignore
    index 1eaeddc..0a3d719 100644
    --- a/.gitignore
    +++ b/.gitignore
    @@ -52,23 +52,13 @@ nutcracker
    ...
    • Oct 31 2018, 7:35 AM
    • 5,848 Lines
    • Diff
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Oct 30 2018, 5:56 PM
    • 29 Lines
    • Python
  • krenair@shinken-02:~/shinken-01-home$ cat groupProjectInstancesByHypervisor.py
    import collections
    import yaml
    from keystoneclient.session import Session as KeystoneSession
    ...
    • Oct 30 2018, 4:08 PM
    • 117 Lines
  • addshore@deployment-deploy01:~$ mwscript eval.php --wiki wikidatawiki
    > $a = \Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getSettings()->getSetting( 'localClientDatabases' );
    > var_dump($a)
    ...
    • Oct 30 2018, 2:33 PM
    • 69 Lines
  • yarn@hadoop-coordinator-2:~$ klist -e -k -t /etc/hadoop/conf/yarn.keytab
    Keytab name: FILE:/etc/hadoop/conf/yarn.keytab
    KVNO Timestamp Principal
    ---- ------------------- ------------------------------------------------------
    1 10/30/2018 12:01:31 yarn/hadoop-coordinator-2.analytics.eqiad.wmflabs@ANALYTICS.EQIAD.WMFLABS (aes256-cts-hmac-sha1-96)
    ...
    • Oct 30 2018, 1:45 PM
    • 216 Lines
  • Generated dockerfile for docker-registry.discovery.wmnet/releng/operations-puppet:0.4.0
    FROM docker-registry.discovery.wmnet/releng/ci-stretch:0.1.1
    ...
    • Oct 30 2018, 10:24 AM
    • 49 Lines
  • 01:37:27 AM DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util
    01:37:29 AM sda 5.50 0.00 69.00 12.55 0.00 0.00 0.00 0.00
    01:37:29 AM sdb 5.50 0.00 69.00 12.55 0.00 0.00 0.00 0.00
    01:37:29 AM md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
    01:37:29 AM md0 4.50 0.00 68.00 15.11 0.00 0.00 0.00 0.00
    ...
    • Oct 30 2018, 10:10 AM
    • 55 Lines
  • Oct 29 15:01:45 shinken-02 ircecho[609]: watch_.proc_fun(revent) # user processings
    Oct 29 15:01:45 shinken-02 ircecho[609]: File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 937, in __call__
    Oct 29 15:01:45 shinken-02 ircecho[609]: return _ProcessEvent.__call__(self, event)
    Oct 29 15:01:45 shinken-02 ircecho[609]: File "/usr/lib/python2.7/dist-packages/pyinotify.py", line 662, in __call__
    Oct 29 15:01:45 shinken-02 ircecho[609]: return meth(event)
    ...
    • Oct 29 2018, 7:37 PM
    • 10 Lines
  • [thcipriani@deploy1001 wdqs (master % u=)]$ python
    Python 2.7.13 (default, Sep 26 2018, 18:42:22)
    [GCC 6.3.0 20170516] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import os
    ...
    • Oct 29 2018, 5:33 PM
    • 12 Lines
  • Looks like comp suggest is having some sort of json encoding problem? Perhaps php is structuring something in an unexpected way. These are not limited to a particular language, i see them for ja.wikipedia.org and de.wikipedia.org. These aren't all directly reproducable though, i tried pulling the url's from logstash and running them and they go through fine. Some sort of intermittent error.
    https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.10.29/mediawiki/?id=AWbAn3P0Of1_EDXpLeqj
    ```
    Search backend error during comp_suggest search for '削除された 悪ふざけ' after 3: parsing_exception: Unknown key
    ...
    • Oct 29 2018, 4:43 PM
    • 10 Lines
  • @@ -37527,6 +37527,64 @@ Array
    [wiktionary] => 1
    )
    + [wmgWikibaseClientRepositories] => Array
    ...
    • Oct 29 2018, 1:31 PM
    • 65 Lines
  • { "global": {
    "proxy.node.hostname_FQ": "localhost.localdomain",
    "proxy.node.hostname": "localhost",
    "proxy.node.restarts.manager.start_time": "1540383235",
    "proxy.node.restarts.proxy.start_time": "1540383236",
    ...
    • Oct 29 2018, 9:11 AM
    • 606 Lines
  • 09:03:48 Failure processing (u'/srv/mediawiki/php-1.33.0-wmf.1/cache/l10n', u'l10n_cache-ti.cdb', True)
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 502, in update_l10n_cdb_wrapper
    return update_l10n_cdb(*args)
    File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
    ...
    • Oct 29 2018, 9:09 AM
    • 31 Lines
  • P7727 dumpvars
    Case 1: just dump $_POST
    ```
    <?php
    var_dump($_POST);
    ```
    ...
    • Oct 29 2018, 8:20 AM
    • 25 Lines
  • window.addEventListener("keydown", function(event) {
    if (event.preventDefaulted) {
    return; // Do nothing if event already handled
    }
    ...
    • Oct 28 2018, 1:19 AM
    • 70 Lines
    • Javascript
  • P7725 T208123
    zoran@zoran-notebook:~$ curl https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Operation_Lavender_2017.svg/2048px-Operation_Lavender_2017.svg.png
    <!DOCTYPE html>
    <html lang=en>
    <meta charset=utf-8>
    <title>Wikimedia Error</title>
    ...
    • Oct 27 2018, 8:38 PM
    • 35 Lines
    • HTML
  • Received: from mx-out01.wmflabs.org (mx-out01.wmflabs.org. [185.15.56.18])
    by mx.google.com with ESMTPS id g8-v6si1521716qte.104.2018.10.26.13.18.05
    for <krenair@gmail.com>
    (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
    Fri, 26 Oct 2018 13:18:05 -0700 (PDT)
    ...
    • Oct 26 2018, 8:20 PM
    • 11 Lines
  • [thcipriani@deployment-deploy01 ~]$ sudo -u nagios sudo -l
    Matching Defaults entries for nagios on deployment-deploy01:
    env_reset, env_keep+=HOME, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
    User nagios may run the following commands on deployment-deploy01:
    ...
    • Oct 26 2018, 6:41 PM
    • 11 Lines
  • AND (
    NOT EXISTS(
    SELECT
    1
    FROM commonswiki_p.page
    ...
    • Oct 26 2018, 6:36 PM
    • 9 Lines
    • SQL
    • Oct 26 2018, 11:29 AM
    • 1 Line
  • P7718 signed
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    [[https://ko.wikipedia.org/wiki/특수:기록?type=&user=&page=사용자%3A기록보호자&wpdate=0000-00-00&tagfilter=|Proof of account ownership]]: `13:42, 17 November 2013 User account 기록보호자 (talk | contribs | block) was created by -revi (talk | contribs | block) (특수 사용자 권한의 사용자명 사칭 방지)`, phab account @revi is linked to SUL -revi.
    ...
    • Oct 26 2018, 8:16 AM
    • 22 Lines
    • Plain Text
  • 96997284 4 -rw-r--r-- 1 51048 51048 78 Dec 9 2016 ./csbot/.bigbrotherrc
    131204494 4 -rw-rw-r-- 1 51083 51083 11 Mar 13 2017 ./ukbot/.bigbrotherrc
    84936596 4 -rw-r--r-- 1 51109 51109 469 Mar 4 2017 ./cluebot/.bigbrotherrc
    131794196 4 -rwxr-xr-x 1 51161 51161 158 Jun 30 2017 ./usrd-tools/.bigbrotherrc
    266345250 4 -rw-r--r-- 1 51222 51222 12 Mar 10 2015 ./render/tools-git/.bigbrotherrc
    ...
    • Oct 25 2018, 1:32 PM
    • 27 Lines
  • <!DOCTYPE html>
    <html lang='en' ><body><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><!DOCTYPE HTML>
    <html><head>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    ...
    • Oct 24 2018, 6:06 AM
    • 85 Lines
    • HTML
  • root@sid:~# traffic_server -C verify_config
    Traffic Server 8.0.0 Oct 17 2018 18:40:51 localhost
    traffic_server: using root directory '/usr'
    NOTE: VERIFY
    ...
    • Oct 23 2018, 3:06 PM
    • 13 Lines
  • # TESTING DIFFERENT /wiki proxying strategies
    # Alias /wiki /var/www/w/index.php + set handler
    mod_proxy_fcgi.c(387): [client ::1:39516] AH01062: sending env var 'SCRIPT_FILENAME' value 'proxy:fcgi://127.0.0.1:9000/var/www/w/index.php/Main_Page'
    mod_proxy_fcgi.c(387): [client ::1:39516] AH01062: sending env var 'QUERY_STRING' value ''
    ...
    • Oct 23 2018, 1:14 PM
    • 25 Lines
  • >>> c = CertCentral()
    SIGHUP received
    Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    Creating initial self-signed certificate for pinkunicorn / ec-prime256v1
    Creating initial self-signed certificate for pinkunicorn / rsa-2048
    ...
    • Oct 23 2018, 9:46 AM
    • 54 Lines
    • Python
  • P7709 git wtf
    alex@alex-laptop:~/Development/Wikimedia/Operations-Puppet (production)$ git review -d 368248
    Downloading refs/changes/48/368248/6 from gerrit
    Switched to branch "review/fomafix/sr"
    alex@alex-laptop:~/Development/Wikimedia/Operations-Puppet (review/fomafix/sr)$ git log -n 1
    commit 7808c416e6cc4686a5b0f7f2a1c79329d1103ccf (HEAD -> review/fomafix/sr)
    ...
    • Oct 22 2018, 6:04 PM
    • 39 Lines
  • root@deployment-logstash2:~# sudo -u elasticsearch -s
    bash: /root/.bashrc: Permission denied
    elasticsearch@deployment-logstash2:~$ cd /usr/share/elasticsearch
    elasticsearch@deployment-logstash2:/usr/share/elasticsearch$
    elasticsearch@deployment-logstash2:/usr/share/elasticsearch$ export ES_HOME=/usr/share/elasticsearch
    ...
    • Oct 22 2018, 5:24 PM
    • 11 Lines
  • +------+-------------+---------------------+--------+------------------------+-------------+---------+-----------------------------------------------+--------+-------------------------------------------------+
    | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
    +------+-------------+---------------------+--------+------------------------+-------------+---------+-----------------------------------------------+--------+-------------------------------------------------+
    | 1 | SIMPLE | page | range | PRIMARY | PRIMARY | 4 | NULL | 23412 | Using where; Using temporary; Using filesort |
    | 1 | SIMPLE | revision | range | rev_page_id | rev_page_id | 8 | NULL | 136486 | Using where; Using join buffer (flat, BNL join) |
    ...
    • Oct 22 2018, 6:38 AM
    • 9 Lines
  • Loading cache...
    Generating loaded file list for code hash
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/AlternativeSyntaxSniff.php
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/LeadingZeroInFloatSniff.php
    => external file: /home/km/gerrit/mediawiki/core/skins/MinervaNeue/vendor/mediawiki/mediawiki-codesniffer/MediaWiki/Sniffs/AlternativeSyntax/UnicodeEscapeSniff.php
    ...
    • Oct 21 2018, 1:29 PM
    • 163 Lines
  • P7700 \o/
    >>> c._new_certificate('pinkunicorn', 'rsa-2048')
    Handling new certificate event for pinkunicorn / rsa-2048
    Triggering DNS zone update...
    Running subprocess ['/usr/local/bin/certcentral-gdnsd-sync.py', '--remote-servers', 'authdns1001.wikimedia.org', 'authdns2001.wikimedia.org', 'multatuli.wikimedia.org', '--', '_acme-challenge.pinkunicorn.wikimedia.org', 't7_OX4Ohp_WNz8g2Sr6V1NV_UVWOxjbEpi0-rsOLkAU']
    Handling pushed CSR event for pinkunicorn / rsa-2048
    ...
    • Oct 19 2018, 2:52 PM
    • 10 Lines
    • Python
  • 3:47 PM <gehel> unrelated, can I pick your brain about T207195 ?
    3:47 PM <stashbot> T207195: Configure LVS endpoints for new elasticsearch clusters - https://phabricator.wikimedia.org/T207195
    3:47 PM <gehel> and the related https://gerrit.wikimedia.org/r/c/operations/puppet/+/467684
    3:48 PM <bblack> yes. I read a little about it yesterday, but I didn't quite see it all clearly
    3:48 PM <gehel> yeah, it's not all that clear in my head yet
    ...
    • Oct 19 2018, 1:34 PM
    • 120 Lines
  • Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: Traceback (most recent call last):
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: File "/usr/bin/certcentral-backend", line 11, in <module>
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: load_entry_point('certcentral==0.1', 'console_scripts', 'certcentral-backend')()
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: File "/usr/lib/python3/dist-packages/certcentral/certcentral.py", line 623, in main
    Oct 19 11:26:17 certcentral1001 certcentral-backend[2413]: CertCentral().run()
    ...
    • Oct 19 2018, 11:27 AM
    • 26 Lines
    • Python
    • Oct 19 2018, 10:46 AM
    • 1 Line
  • diff --git a/extension.json b/extension.json
    index 4974313..61ef171 100644
    --- a/extension.json
    +++ b/extension.json
    @@ -614,6 +614,7 @@
    ...
    • Oct 18 2018, 8:57 PM
    • 216 Lines
    • Diff
  • <?php
    namespace MediaWiki\Auth;
    class ConfirmNoEmailSecondaryAuthenticationProvider extends AbstractSecondaryAuthenticationProvider {
    ...
    • Oct 18 2018, 7:01 PM
    • 48 Lines
  • root@certcentral1001:~# sudo -u certcentral /usr/local/bin/certcentral-gdnsd-sync.py pinkunicorn.wikimedia.org 0123456789012345678901234567890123456789012 --remote-servers authdns1001.wikimedia.org authdns2001.wikimedia.org multatuli.wikimedia.org
    authdns1001.wikimedia.org ['pinkunicorn.wikimedia.org', '0123456789012345678901234567890123456789012']
    Could not create directory '/nonexistent/.ssh'.
    Could not chdir to home directory /nonexistent: No such file or directory
    info: ACME DNS-01 challenges accepted
    ...
    • Oct 18 2018, 6:21 PM
    • 13 Lines
  • $ cat ~/count-hiera.sh
    #!/bin/bash
    for y in 2015 2016 2017 2018; do
    for m in 01 04 07 10; do
    git checkout `git rev-list -n 1 --before="$y-$m-01" production` >/dev/null 2>&1
    ...
    • Oct 18 2018, 3:22 PM
    • 29 Lines
  • This is per-port, for all physical host ethernet ports that exist in the production fleet.
    3556 "driver": "tg3"
    598 "driver": "bnx2x"
    178 "driver": "bnx2"
    42 "driver": "bnxt_en"
    ...
    • Oct 17 2018, 8:34 PM
    • 10 Lines
  • krenair@deployment-deploy01:~$ sudo keyholder status
    keyholder-agent: active
    - 2048 SHA256:zbuiiLRPuC2bS3FkoYRjHG4CoTR3WuyE0jJ9PSFFV8Y /etc/keyholder.d/deploy_librenms (RSA)
    - 4096 SHA256:BkaF2U4ziL7sesuRSV9UaEoQzK3GvoWZWgGCrKxUYBo /etc/keyholder.d/deploy_service (RSA)
    - 4096 SHA256:MjqJXMZbB6uki4G9LuVVgEogog9Z/nwntDZwZSjn+fs /etc/keyholder.d/dumpsdeploy (RSA)
    ...
    • Oct 17 2018, 4:56 PM
    • 17 Lines
  • 2018-10-17 00:29:46
    Full thread dump OpenJDK 64-Bit Server VM (25.181-b13 mixed mode):
    "Attach Listener" #34533 daemon prio=9 os_prio=0 tid=0x00007fee64003000 nid=0x3921 waiting on condition [0x0000000000000000]
    java.lang.Thread.State: RUNNABLE
    ...
    • Oct 17 2018, 6:17 AM
    • 5,550 Lines
  • file:///home/dzahn/Downloads/Telegram%20Desktop/planet.png
    • Oct 16 2018, 6:26 PM
    • 1 Line
  • Input:
    <section id="cxTargetSection1">
    <p id="mwBQ">
    <span data-segmentid="218" class="cx-segment">
    ...
    • Oct 16 2018, 4:48 PM
    • 17 Lines
    • HTML
  • result position
    p [[ 0 0 0 0 0 0 0 0]
    r [78 0 0 0 0 0 0 0]
    e [81 51 48 8 36 2 0 0]
    f [78 39 35 12 1 6 12 0]
    ...
    • Oct 15 2018, 8:18 PM
    • 11 Lines
  • These dashboards are already broken, Diamond is removed from these hosts for quite a while, service owners have been pinged for conversion:
    Matched db/eventbus (EventBus)
    [ '(servers.kafka[12]00[123].loadavg.05, 1',
    '(servers.kafka[12]00[123].cpu.total.iowait, 1',
    ...
    • Oct 15 2018, 10:12 AM
    • 179 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 9:47 AM
    • 57 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 7:20 AM
    • 57 Lines
  • root@db1116.eqiad.wmnet[(none)]> select @@hostname;
    +------------+
    | @@hostname |
    +------------+
    | db1116 |
    ...
    • Oct 15 2018, 5:13 AM
    • 58 Lines
  • clicks: [ 0 40 78 201 305 304 264 232 206 175 107 84 94 62 50 36 25 32 14 14]
    clicks + skips:[ 0 75 188 352 481 485 422 349 304 231 153 127 122 83 64 58 32 37 20 18]
    clicks / (clicks + skips)
    [ nan 0.53333333 0.41489362 0.57102273 0.63409563 0.62680412
    ...
    • Oct 12 2018, 11:31 PM
    • 8 Lines
  • <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    <svg version="1.1"
    id="svg548" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" sodipodi:version="0.32" sodipodi:docname="/home/david/Desktop/temp/filesystems/gnome-fs-chardev.svg" sodipodi:docbase="/home/david/Desktop/temp/filesystems/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:xap="http://ns.adobe.com/xap/1.0/"
    xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="39.965px"
    ...
    • Oct 12 2018, 6:23 PM
    • 73 Lines
  • #!/usr/bin/env python3
    import pickle
    from mwparserfromhell import __version__, parse
    from ores.util import timeout
    ...
    • Oct 12 2018, 3:20 PM
    • 12 Lines
    • Python
  • ## Labs
    Host bastlabs
    User thcipriani
    HostName primary.bastion.wmflabs.org
    IdentityFile ~/.ssh/id_rsa.wikimedia
    ...
    • Oct 12 2018, 2:39 PM
    • 22 Lines
  • import pickle
    from mwparserfromhell import __version__, parse
    from ores.util import timeout
    ...
    • Oct 12 2018, 2:08 PM
    • 11 Lines
  • simplewiki: ... rev_id=198497
    User name "De bengel" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.
    User name "RoyBoy" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation.
    ...
    • Oct 12 2018, 1:30 PM
    • 53 Lines
  • ---- normal stuff dh_installinit puts in for us:
    if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
    if [ -x "/etc/init.d/gdnsd" ]; then
    update-rc.d gdnsd defaults >/dev/null
    if [ -n "$2" ]; then
    ...
    • Oct 12 2018, 12:58 PM
    • 30 Lines
  • #96 Frame 0x7fbf4c7d33a8, for file /srv/deployment/ores/deploy-cache/revs/a7171997aed4054856cddd0f5f0a831215d13087/venv/lib/python3.5/site-packages/revscoring/features/wikitext/datasources/parsed.py, line 210, in _process_wikicode (text='== Participaci\xf3n ==\n\n{| class="wikitable" class="sortable wikitable"\n|-----\n!width=4%|A\xf1o!!width=12%|Pa\xeds que representa !!Cantante(s) !!width=15%|Canci\xf3n<br /><small>(M\xfasica / Letra)</small>!!width=6%|Final!!width=4%|Pts.!!width=2%|Semifinal!!width=5%|Pts.!!width=6%|J!!width=6%|Pts!!width=6%|T!!width=6%|Pts!!width=6%|Odds!!width=4%|{{bandera|Spain}}!!width=10%|{{bandera|Spain}}12?\n|-\n| [[Festival de la Canci\xf3n de Eurovisi\xf3n 2877|2877]]\n| {{bandera|Israel}} \'\'\'[[Israel]]\'\'\'\n| style="background:" |\'\'\'[[Daniel Alfredo]]\'\'\'\n|[[Fly until ma own|\'\'\'\'\'Menos (Low)\'\'\'\']]\n| style="background:" align="right"| 19/26\n| style="background:" align="right"| 127\n| style="background-color:pink" align="right" | 5/18\n| style="background...
    • Oct 11 2018, 8:46 PM
    • 2 Lines
  • # integration-slave-docker-1017:
    UID PID PPID C STIME TTY TIME CMD
    nobody 18079 18063 0 Oct10 ? 00:00:00 bash /run.sh
    nobody 18119 18079 92 Oct10 ? 1-06:09:24 npm
    UID PID PPID C STIME TTY TIME CMD
    ...
    • Oct 11 2018, 5:41 PM
    • 211 Lines
  • <?php
    // Start up an extra elasticsearch instance:
    // sudo -u elasticsearch mkdir -p /tmp/es-extra/data
    // sudo -u elasticsearch /usr/share/elasticsearch/bin/elasticsearch -p /tmp/es-extra/elasticsearch.pid -Epath.logs=/tmp/es-extra -Epath.data=/tmp/es-extra/data -Epath.conf=/etc/elasticsearch -Ehttp.port=9205 -Ecluster.name=extra-cluster
    ...
    • Oct 11 2018, 4:21 PM
    • 75 Lines
  • root@db2085.codfw.wmnet[(none)]> select @@hostname; show slave status\G
    +------------+
    | @@hostname |
    +------------+
    | db2085 |
    ...
    • Oct 11 2018, 3:15 PM
    • 56 Lines
  • page_id
    56543569
    56543584
    56543600
    56543616
    • Oct 11 2018, 2:47 PM
    • 5 Lines