Paste Active Pastes
  • 1$ ssh tin.eqiad.wmnet -v
    2OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
    3debug1: Reading configuration data /home/ed/.ssh/config
    4debug1: /home/ed/.ssh/config line 8: Applying options for *.eqiad.wmnet
    5debug1: Reading configuration data /etc/ssh/ssh_config
    6
    7...
    • Thu, Feb 23, 10:20 PM
    • 14 Lines
  • 1​lua_shared_dict prometheus_metrics 10M;
    2​init_by_lua '
    3​prometheus = require("prometheus").init("prometheus_metrics")
    4​metric_requests = prometheus:counter(
    5​"nginx_http_requests_total", "Number of HTTP requests", {"host", "status"})
    6...
    • Thu, Feb 23, 5:00 PM
    • 22 Lines
  • 1BEGIN BATCH
    2DELETE FROM "local_group_wikipedia_T_parsoid_html".data WHERE "_domain" = 'en.wikipedia.org' AND key = 'User:B-bot/Event_log';
    3DELETE FROM "local_group_wikipedia_T_parsoid_section_offsets".data WHERE "_domain" = 'en.wikipedia.org' AND key = 'User:B-bot/Event_log';
    4DELETE FROM "local_group_wikipedia_T_parsoid_dataW4ULtxs1oMqJ".data WHERE "_domain" = 'en.wikipedia.org' AND key = 'User:B-bot/Event_log';
    5APPLY BATCH;
    • Thu, Feb 23, 3:00 PM
    • 5 Lines
    • SQL
  • 1​cqlsh:db> TRACING ON;
    2​Now Tracing is enabled
    3​cqlsh:db> SELECT title,revision,tid FROM data WHERE "_domain" = 'en.wikipedia.org' AND title = 'San Antonio';
    4
    5​ title | revision | tid
    6...
    • Wed, Feb 22, 8:43 PM
    • 16 Lines
  • 1​$ find ~/.ccm/test/node1/data0/db/data-a1005df0f92911e692e46fc96d5aae0c -maxdepth 1 -name '*-Data.db' -exec basename '{}' \;
    2​la-13-big-Data.db
    3​la-11-big-Data.db
    4​la-12-big-Data.db
    5​la-14-big-Data.db
    6...
    • Wed, Feb 22, 8:39 PM
    • 12 Lines
    • Shell
  • 1​mattflaschen@mwdebug1002:~$ mwscript extensions/Flow/maintenance/dumpBackup.php --wiki=metawiki --full --pagelist=/home/mattflaschen/ORES_paper_pagelist.txt > /home/mattflaschen/ORES_paper_full.xml
    2​PHP Fatal error: Class 'Memcached' not found in /srv/mediawiki/php-1.29.0-wmf.12/includes/libs/objectcache/MemcachedPeclBagOStuff.php on line 63
    3​Fatal error: Class 'Memcached' not found in /srv/mediawiki/php-1.29.0-wmf.12/includes/libs/objectcache/MemcachedPeclBagOStuff.php on line 63
    • Wed, Feb 22, 7:31 PM
    • 3 Lines
  • 1
    2​date: 2017-02-22T18:24:23+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Wed, Feb 22, 6:24 PM
    • 16 Lines
  • 1
    2​date: 2017-02-22T18:24:13+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Wed, Feb 22, 6:24 PM
    • 16 Lines
  • 1​WikiProject Physics/Taskforces/Acoustics
    2​WikiProject Animation/Adult Swim work group
    3​WikiProject Aviation/Aerospace biography task force
    4​WikiProject Philosophy/Aesthetics
    5​WikiProject Military history/African military history task force
    6...
    • Wed, Feb 22, 5:31 PM
    • 22 Lines
  • 1​root@dbstore1001:/srv/backups# find /srv/backups -mtime -1
    2​/srv/backups
    3​/srv/backups/m1-20170222010001.sql.gz
    4​/srv/backups/m2-20170222020356.sql.gz
    5​/srv/backups/m3-phabricator-phlegal-20170222020619.sql.gz
    6...
    • Wed, Feb 22, 8:39 AM
    • 7 Lines
  • 1​@timestamp 2017-02-22T01:01:08
    2​t@version 1
    3​t_id AVpjVhOqlL3ktRIGMtol
    4​t_index logstash-2017.02.22
    5​#_score 1
    6...
    • Wed, Feb 22, 1:21 AM
    • 13 Lines
  • 1​@timestamp 2017-02-22T00:27:55
    2​t@version 1
    3​t_id AVpjN6lKlL3ktRIGMTlF
    4​t_index logstash-2017.02.22
    5​#_score 1
    6...
    • Wed, Feb 22, 1:20 AM
    • 45 Lines
  • 1​+ /usr/local/bin/maintain-kubeusers --infrastructure-users /etc/kubernetes/infrastructure-users https://k8s-master-01.chasetestproject.eqiad.wmflabs:6443 /etc/kubernetes/tokenauth /etc/kubernetes/abac --project chasetestproject --once --debug
    2​starting a run
    3​Write config in /data/project/testuserone/.kube/config
    4​(b'namespace "testuserone" created\n', b'')
    5​Provisioned creds for tool testuserone
    6...
    • Tue, Feb 21, 11:02 PM
    • 10 Lines
  • 1​cassandra@cqlsh:local_group_wikipedia_T_mobileapps_remaining> SELECT key, tid, "latestTid", value, "content-type", "content-sha256", "content-location", tags, headers, "_domain", "_del" FROM "local_group_wikipedia_T_mobileapps_remaining"."data" WHERE key = 'Talk:Draconus' AND "_domain" = 'en.wikipedia.org';
    2
    3​ key | tid | latestTid | value | content-type | content-sha256 | content-location | tags | headers ...
    • Tue, Feb 21, 7:52 PM
    • 3 Lines
  • 1$ node traced.js
    2 RESULT ....: Row { id: 'jericevans', first: 'Eric', last: 'Evans' }
    3TRACE ID ....: Uuid: 8b037420-f86a-11e6-8ec6-6bf5aa313f86
    4{ requestType: 'Execute CQL3 query',
    5 coordinator: InetAddress: 127.0.0.1,
    6
    7...
    • Tue, Feb 21, 7:18 PM
    • 26 Lines
  • 1"use strict";
    2
    3
    4const P = require('bluebird');
    5const cassandra = require("cassandra-driver");
    6...
    • Tue, Feb 21, 7:17 PM
    • 33 Lines
    • Javascript
  • 1
    2​root@labstore1005:/etc/sudoers.d# cat diamond_dir
    3​# This file is managed by Puppet!
    4​diamond ALL = NOPASSWD: /usr/local/bin/safe_du
    5
    6...
    • Tue, Feb 21, 5:44 PM
    • 27 Lines
  • 1​* << Request >> 238395449
    2​- Begin req 233071209 rxreq
    3​- Timestamp Start: 1487695086.909796 0.000000 0.000000
    4​- Timestamp Req: 1487695086.909796 0.000000 0.000000
    5​- ReqStart 10.20.0.169 23349
    6...
    • Tue, Feb 21, 4:45 PM
    • 19 Lines
  • 1​root@k8s-worker:~# puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Info: Caching catalog for k8s-worker.chasetestproject.eqiad.wmflabs
    6...
    • Tue, Feb 21, 4:23 PM
    • 17 Lines
  • 1​=============== ActivityMonitor
    2​./lib/socketio.js: * for Internet Explorer. Regular forever iframe implementations will
    3​./lib/socketio.js: * And calls the `CollectGarbage` function of Internet Explorer
    4
    5​=============== ArticleFeedbackv5
    6...
    • Tue, Feb 21, 4:21 PM
    • 13 Lines
  • P4957 zarcillo
    1​./sql.py -h db1011.eqiad.wmnet zarcillo -e "SELECT fqdn, port, GROUP_CONCAT(shard) as shards FROM instances LEFT JOIN instance_shards ON instances.name = instance_shards.instance_name GROUP BY name" --no-dry-run
    2
    3​Results for db1011.eqiad.wmnet:3306/zarcillo:
    4​+-----------------------------------+--------+-------------------------------+
    5​| fqdn | port | shards |
    6...
    • Tue, Feb 21, 3:03 PM
    • 13 Lines
  • 1
    2​date: 2017-02-21T13:46:06+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Tue, Feb 21, 1:46 PM
    • 16 Lines
  • 1
    2​date: 2017-02-21T13:45:20+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Tue, Feb 21, 1:46 PM
    • 16 Lines
  • 1
    2​date: 2017-02-21T13:44:53+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Tue, Feb 21, 1:45 PM
    • 16 Lines
  • 1
    2​date: 2017-02-21T13:44:19+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Tue, Feb 21, 1:45 PM
    • 16 Lines
  • 1
    2​date: 2017-02-21T13:43:34+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Tue, Feb 21, 1:44 PM
    • 16 Lines
  • 1$ sudo ./sql.py -h localhost -e "SHOW STATUS like 'Hand%'" --no-dry-run
    2+----------------------------+---------+
    3| Variable_name | Value |
    4|----------------------------+---------|
    5| Handler_commit | 0 |
    6
    7...
    • Mon, Feb 20, 3:09 PM
    • 25 Lines
  • 1​MariaDB [enwiki_p]> SELECT pa_project_id, pap_project_title, COUNT(*) AS count FROM page_assessments p1 JOIN page_assessments_projects p2 ON p1.pa_project_id = p2.pap_project_id GROUP BY pa_project_id ORDER BY count DESC;
    2​+---------------+-------------------------------------------------------------------------------------------------+---------+
    3​| pa_project_id | pap_project_title | count |
    4​+---------------+-------------------------------------------------------------------------------------------------+---------+
    5​| 29 | Biography | 1480412 |
    6...
    • Mon, Feb 20, 12:44 PM
    • 8 Lines
  • 1​W: cumin source: binary-nmu-debian-revision-in-source 0.0.1-1+0~20170218004036.670+jessie+wikimedia~1.gbpfd657d
    2​N:
    3​N: The version number of your source package ends in +b and a number or has
    4​N: a Debian revision containing three parts. These version numbers are used
    5​N: by binary NMUs and should not be used as the source version. (The +b
    6...
    • Mon, Feb 20, 11:39 AM
    • 23 Lines
  • 1​root@k8s-master-01:~# puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Info: Caching catalog for k8s-master-01.chasetestproject.eqiad.wmflabs
    6...
    • Fri, Feb 17, 10:18 PM
    • 13 Lines
  • 1​mysql:wikiadmin@db1082 [dewiki]> select count(*), SUBSTR(page_links_updated, 1,6) from page group by SUBSTR(page_links_updated, 1,6) order by SUBSTR(page_links_updated, 1,6) desc;
    2​+----------+---------------------------------+
    3​| count(*) | SUBSTR(page_links_updated, 1,6) |
    4​+----------+---------------------------------+
    5​| 677131 | 201702 |
    6...
    • Fri, Feb 17, 6:58 PM
    • 19 Lines
  • 1​* Stopping Send an event to indicate plymouth is up[74G[ OK ]
    2​ * Starting Mount filesystems on boot[74G[ OK ]
    3​ * Starting Populate and link to /run filesystem[74G[ OK ]
    4​ * Stopping Populate and link to /run filesystem[74G[ OK ]
    5​ * Stopping Track if upstart is running in a container[74G[ OK ]
    6...
    • Fri, Feb 17, 12:50 PM
    • 17 Lines
  • 1​/v1/AUTH_mw/wikipedia-commons-local-thumb.fc/thumbor/f/fc/IMAG0127.jpg/407px-IMAG0127.jpg
    2​/v1/AUTH_mw/wikipedia-commons-local-thumb.0b/thumbor/0/0b/Golden_Prince_Heraklion_04.jpg/1200px-Golden_Prince_Heraklion_04.jpg
    3​/v1/AUTH_mw/wikipedia-commons-local-thumb.64/thumbor/6/64/Holgate_Library_in_Portland.jpg/130px-Holgate_Library_in_Portland.jpg
    4​/v1/AUTH_mw/wikipedia-commons-local-thumb.e0/thumbor/e/e0/Salix_magnifica_%252826096382173%2529.jpg/407px-Salix_magnifica_%252826096382173%2529.jpg
    5​/v1/AUTH_mw/wikipedia-commons-local-thumb.fb/thumbor/f/fb/W_Hohen%25C3%25B6lsen.png/407px-W_Hohen%25C3%25B6lsen.png
    6...
    • Fri, Feb 17, 12:11 PM
    • 8 Lines
  • 1​rm: cannot remove ‘/srv/mediawiki-staging/php-1.29.0-wmf.5/.git/modules/extensions/CentralAuth/objects/b8’: Permission denied
    2​rm: cannot remove ‘/srv/mediawiki-staging/php-1.29.0-wmf.5/.git/modules/extensions/CentralAuth/objects/45’: Permission denied
    3​rm: cannot remove ‘/srv/mediawiki-staging/php-1.29.0-wmf.5/.git/modules/extensions/CentralAuth/objects/c7’: Permission denied
    4​rm: cannot remove ‘/srv/mediawiki-staging/php-1.29.0-wmf.5/.git/modules/extensions/CentralAuth/objects/1f’: Permission denied
    5​rm: cannot remove ‘/srv/mediawiki-staging/php-1.29.0-wmf.5/.git/modules/extensions/CentralAuth/objects/f5’: Permission denied
    6...
    • Thu, Feb 16, 10:55 PM
    • 8 Lines
  • 1​root@browsertests-1001:~# puppet agent -tv
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Info: Caching catalog for browsertests-1001.integration.eqiad.wmflabs
    6...
    • Thu, Feb 16, 4:53 PM
    • 14 Lines
  • 1​[09:11] <moritzm> thanks for working on https://gerrit.wikimedia.org/r/#/c/337018, that role is currently applied to neodymium and sarin and these have mariadb-client, mariadb-client-10.0, mariadb-client-core-10.0 and mariabd-common installed (the packages shipped by Debian). can these be removed now?
    2​[09:11] <moritzm> apt-cache rdepends shows no other rev deps, so seems safe to me
    3​[09:13] <moritzm> also a few of the older DB servers have mariadb-client-5.5 installed: https://servermon.wikimedia.org/packages/mariadb-client-5.5
    4​[09:13] <moritzm> probably not worth spending on though, these will shake out over time with jessie reimages
    5​[09:15] <moritzm> and one last thing: The phabricator role pulls in mariadb-client, if wmf-mariadb-client will be available for trusty this can be switched as well
    6...
    • Thu, Feb 16, 3:01 PM
    • 7 Lines
  • 1​reedy@tin:~$ mwscript eval.php bswiki
    2​> var_dump( $wgFlaggedRevsTags );
    3​array(1) {
    4​ ["accuracy"]=>
    5​ array(3) {
    6...
    • Thu, Feb 16, 2:38 PM
    • 13 Lines
  • 1​root@db1060:~# megacli -AdpBbuCmd -aAll
    2
    3​BBU status for Adapter: 0
    4
    5​BatteryType: BBU
    6...
    • Wed, Feb 15, 2:53 PM
    • 18 Lines
  • 1​mw1161.eqiad.wmnet: -rw-r--r-- 1 root root 71505 Oct 15 16:12 /etc/php5/cli/php.ini
    2​mw1162.eqiad.wmnet: -rw-r--r-- 1 root root 71505 Oct 15 16:12 /etc/php5/cli/php.ini
    3​mw1163.eqiad.wmnet: -rw-r--r-- 1 root root 71505 Oct 15 16:12 /etc/php5/cli/php.ini
    4​mw1164.eqiad.wmnet: -rw-r--r-- 1 root root 71505 Oct 15 16:12 /etc/php5/cli/php.ini
    5​mw1165.eqiad.wmnet: -rw-r--r-- 1 root root 71505 Oct 15 16:12 /etc/php5/cli/php.ini
    6...
    • Wed, Feb 15, 9:39 AM
    • 13 Lines
  • 1​root@neodymium:/home/marostegui# diff -u labsdb1004.txt labsdb1005.txt | grep "+"
    2--- labsdb1004.txt 2017-02-15 07:12:46.621426335 +0000
    3+++ labsdb1005.txt 2017-02-15 07:12:41.045393267 +0000
    4@@ -1,12 +1,13 @@
    5+heartbeat
    6...
    • Wed, Feb 15, 7:15 AM
    • 46 Lines
  • 1
    2​date: 2017-02-15T05:05:13+00:00
    3​tool: pageviews
    4​language: it
    5​chart: bar
    6...
    • Wed, Feb 15, 5:05 AM
    • 17 Lines
  • 1<?php
    2foreach ( [ ... ] as $username ) {
    3$user = User::newFromName( $username );
    4$user->setOption( 'rcenhancedfilters', true );
    5$user->saveSettings();
    6...
    • Tue, Feb 14, 9:58 PM
    • 9 Lines
  • 1​nova-fullstack.log:2017-02-14 14:26:20,163 INFO servers.labnet1002.nova.verify.creation => 33.69 1487082380
    2​nova-fullstack.log:2017-02-14 14:42:24,159 INFO servers.labnet1002.nova.verify.creation => 145.34 1487083344
    3​nova-fullstack.log:2017-02-14 14:57:44,574 INFO servers.labnet1002.nova.verify.creation => 145.48 1487084264
    4​nova-fullstack.log:2017-02-14 15:37:56,259 INFO servers.labnet1002.nova.verify.creation => 134.85 1487086676
    5​nova-fullstack.log:2017-02-14 15:43:17,854 INFO servers.labnet1002.nova.verify.creation => 24.69 1487086997
    6...
    • Tue, Feb 14, 8:47 PM
    • 10 Lines
  • 1​function MyProcessDialog( config ) {
    2​ MyProcessDialog.parent.call( this, config );
    3​}
    4​OO.inheritClass( MyProcessDialog, OO.ui.ProcessDialog );
    5​MyProcessDialog.static.name = 'myProcessDialog';
    6...
    • Tue, Feb 14, 8:19 PM
    • 33 Lines
  • 1​{u'error': {u'info': u'You need read permission to use this module', u'code': u'readapidenied', u'help': u'See http://95.110.231.234/wikimaffei/api.php for API usage'}}
    2​ERROR: APIError: readapidenied: You need read permission to use this module [help:See http://95.110.231.234/wikimaffei/api.php for API usage]
    3​Should be logged in now
    4​Logged in on maffei:maffei as Federico.leva-Bot.
    5​Dropped throttle(s).
    6...
    • Tue, Feb 14, 4:52 PM
    • 17 Lines
  • 1
    2​date: 2017-02-14T04:28:54+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Tue, Feb 14, 4:29 AM
    • 16 Lines
  • 1​[user]
    2​ name = Chad Horohoe
    3​ email = chadh@wikimedia.org
    4​ signingkey = <foo>
    5​[alias]
    6...
    • Mon, Feb 13, 10:49 PM
    • 44 Lines
  • 1
    2​date: 2017-02-13T13:22:27+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Mon, Feb 13, 1:22 PM
    • 16 Lines
  • 1​Feb 13 07:00:54 thumbor1001 thumbor@8827[18186]: 2017-02-13 07:00:54,634 8827 swiftclient:ERROR Object PUT failed: http://ms-fe.svc.eqiad.wmnet/v1/AUTH_mw/wikipedia-commons-local-thumb.e9/thumbor/e/e9/La_Palma_-_Brena_Alta_-_Avenida_Bajamar_-_Central_t%C3%A9rmica_Los_Guinchos_v_04_ies.webm/1024px--La_Palma_-_Brena_Alta_-_Avenida_Bajamar_-_Central_t%C3%A9rmica_Los_Guinchos_v_04_ies.webm.jpg 401 Unauthorized [first 60 chars of response] <html><h1>Unauthorized</h1><p>This server could not verify t
    2​Feb 13 07:00:54 thumbor1001 thumbor@8827[18186]: Traceback (most recent call last):
    3​Feb 13 07:00:54 thumbor1001 thumbor@8827[18186]: File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1565, in _retry
    4​Feb 13 07:00:54 thumbor1001 thumbor@8827[18186]: service_token=self.service_token, **kwargs)
    5​Feb 13 07:00:54 thumbor1001 thumbor@8827[18186]: File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 1281, in put_object
    6...
    • Mon, Feb 13, 10:41 AM
    • 6 Lines
  • 1
    2​date: 2017-02-12T09:37:36+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Sun, Feb 12, 9:37 AM
    • 14 Lines
  • 1conflicts: [
    2{
    3filter: 'hideanons',
    4text: 'i18n-some-key'
    5}
    6...
    • Sat, Feb 11, 2:52 AM
    • 15 Lines
    • Javascript
  • 1​Feb 09 17:50:15 ms-fe1007 systemd[1]: Starting Puppet agent...
    2​Feb 09 17:50:27 ms-fe1007 puppet-agent[920]: Reopening log files
    3​Feb 09 17:50:27 ms-fe1007 systemd[1]: Started Puppet agent.
    4​Feb 09 17:51:26 ms-fe1007 systemd[1]: Stopping Puppet agent...
    5​Feb 09 17:51:26 ms-fe1007 puppet-agent[920]: Could not run: SIGTERM
    6...
    • Fri, Feb 10, 8:17 AM
    • 8 Lines
  • 1​warFilePath = /home/gehel/wikimedia/wikidata/query/rdf/war/target/blazegraph-service-0.2.4-SNAPSHOT.war
    2
    3​tmpPath = /tmp/jhades
    4
    5​Deleting temporary directory
    6...
    • Thu, Feb 9, 5:28 PM
    • 27 Lines
  • 1​warFilePath = blazegraph-service-0.2.4-SNAPSHOT-dist.war
    2
    3​tmpPath = /tmp/jhades
    4
    5​Deleting temporary directory
    6...
    • Thu, Feb 9, 5:26 PM
    • 28 Lines
  • 1#! /usr/bin/python -Es
    2# -*- coding: UTF-8 -*-
    3#
    4# Copyright © 2013 Marc-André Pelletier <mpelletier@wikimedia.org>
    5# Copyright © 2017 Zhuyifei1999 <zhuyifei1999@gmail.com>
    6...
    • Thu, Feb 9, 2:41 PM
    • 23 Lines
    • Python
  • P4915 TLS check
    1$ cat dbtools/s*.hosts | while read host port; do echo -n "$host $port: "; /usr/local/bin/mysql -BN -h $host -P $port $db -e "SELECT 1"; done
    2db2034.codfw.wmnet 3306: 1
    3db2042.codfw.wmnet 3306: 1
    4db2048.codfw.wmnet 3306: 1
    5db2055.codfw.wmnet 3306: 1
    6
    7...
    • Thu, Feb 9, 10:19 AM
    • 16 Lines
  • 1INSERT INTO music (artist, album, track) VALUES ('Dream Theater', 'Train of Thought', 'As I Am');
    2INSERT INTO music (artist, album, track) VALUES ('Dream Theater', 'Train of Thought', 'This Dying Soul');
    3INSERT INTO music (artist, album, track) VALUES ('Dream Theater', 'Train of Thought', 'Endless Sacrifice');
    4INSERT INTO music (artist, album, track) VALUES ('Dream Theater', 'Train of Thought', 'Honor Thy Father');
    5INSERT INTO music (artist, album, track) VALUES ('Dream Theater', 'Train of Thought', 'Vacant');
    6...
    • Wed, Feb 8, 7:18 PM
    • 8 Lines
    • SQL
  • 1​Chriss-Air:templates cmjohnson$ git push origin master
    2​Counting objects: 4, done.
    3​Delta compression using up to 4 threads.
    4​Compressing objects: 100% (4/4), done.
    5​Writing objects: 100% (4/4), 377 bytes | 0 bytes/s, done.
    6...
    • Wed, Feb 8, 6:14 PM
    • 18 Lines
  • 1# This file must be used with "source bin/activate" *from bash*
    2# you cannot run it directly
    3
    4​deactivate () {
    5unset pydoc
    6...
    • Wed, Feb 8, 4:24 PM
    • 39 Lines
    • Bash Scripting
  • 1​root@puppetmaster1001:~# puppet-merge
    2​Fetching new commits from https://gerrit.wikimedia.org/r/p/operations/puppet
    3​remote: Counting objects: 17602, done
    4​remote: Finding sources: 100% (6/6)
    5​remote: Getting sizes: 100% (2/2)
    6...
    • Wed, Feb 8, 8:35 AM
    • 21 Lines
  • 1#!/usr/bin/env bash
    2# Connect to a WMF production host using an alternate ssh agent
    3#
    4# Ensures that a dedicated agent is running using a well known socket and that
    5# it has the needed ssh key loaded before calling ssh/scp
    6...
    • Tue, Feb 7, 6:01 PM
    • 23 Lines
    • Bash Scripting
  • 1#!/usr/bin/env bash
    2
    3target_dir=repo
    4git_dir="$target_dir"/.git
    5infile=""
    6...
    • Tue, Feb 7, 11:12 AM
    • 33 Lines
  • 1​{{../Section|prev=|next=}}
    2
    3​== Integrate a modern php REPL shell with MediaWiki ==
    4​{{tracked|T117661}}{{../buttons|task=T117661|title=Integrate a modern php REPL shell with MediaWiki}}
    5​Currently MediaWiki provides a custom console via eval.php, which is integrated with the wiki's environment but otherwise rather poor (no proper readline support, no fatal error handling, the P part of REPL is missing, no tab autocompletion, no reflection...). Vagrant provides phpsh / hhvmsh which is somewhat better but still mediocre. It would be nice to replace these with a great REPL like [http://psysh.org/ PsySH] or [https://changelog.com/meet-boris-a-tiny-repl-for-php/ Boris].
    6...
    • Tue, Feb 7, 2:37 AM
    • 15 Lines
  • 1​https://graphite-labs.wikimedia.org/render?title=Tools&yMin=0&width=800&height=400&target=cactiStyle(alias(sumSeries(tools.tools-services-01.sge.hosts.tools-*12*.job_count),%27precise%27))&target=cactiStyle(alias(sumSeries(tools.tools-services-01.sge.hosts.tools*14*.job_count),%27trusty%27))&target=cactiStyle(alias(tools.tools-k8s-master-01.KubernetesCollector.namespaces.active,%27k8s%27))&from=-180days
    • Mon, Feb 6, 8:08 PM
    • 1 Line
  • 1​Chriss-Air:.ssh cmjohnson$ ssh -vvv ms-be1013.eqiad.wmnet
    2​OpenSSH_7.3p1, LibreSSL 2.4.1
    3​debug1: Reading configuration data /Users/cmjohnson/.ssh/config
    4​debug1: /Users/cmjohnson/.ssh/config line 25: Applying options for *.wmnet
    5​debug1: Reading configuration data /etc/ssh/ssh_config
    6...
    • Mon, Feb 6, 5:00 PM
    • 18 Lines
  • 1​## Production
    2
    3​Host bast2001.wikimedia.org gerrit.wikimedia.org iron.wikimedia.org bast1001.wikimedia.org bast4001.wikimedia.org
    4​ IdentityFile ~/.ssh/cmj-prod
    5
    6...
    • Mon, Feb 6, 4:42 PM
    • 24 Lines
  • 1​```
    2​root@PRODUCTION s4[(none)]> select @@hostname;
    3​+------------+
    4​| @@hostname |
    5​+------------+
    6...
    • Mon, Feb 6, 9:31 AM
    • 32 Lines
  • 1​```
    2​mysql:root@localhost [(none)]> select @@hostname;
    3​+------------+
    4​| @@hostname |
    5​+------------+
    6...
    • Mon, Feb 6, 7:32 AM
    • 31 Lines
  • 1​SystemGifts/SpecialRemoveMasterSystemGift.php: <input type="button" class="site-button" value="' . $this->msg( 'ga-remove' )->plain() . '" size="20" onclick="document.form1.submit()" />
    2​SystemGifts/SpecialRemoveMasterSystemGift.php: <input type="button" class="site-button" value="' . $this->msg( 'ga-cancel' )->plain() . '" size="20" onclick="history.go(-1)" />
    3
    4​----
    5
    6...
    • Mon, Feb 6, 2:59 AM
    • 12 Lines
  • 1
    2​date: 2017-02-05T19:26:43+00:00
    3​tool: pageviews
    4​language: de
    5​chart: bar
    6...
    • Sun, Feb 5, 7:26 PM
    • 16 Lines
  • 1​halfak@deployment-tin:/srv/deployment/ores/deploy$ scap deploy -fv
    2​21:44:05 Started deploy [ores/deploy@7c80636]
    3​21:44:05 Deploying Rev: 7c80636313b088928c8eba5d5bdf0b62b8db7f76
    4​21:44:05 Update DEPLOY_HEAD
    5​21:44:05 Creating /srv/deployment/ores/deploy/.git/DEPLOY_HEAD
    6...
    • Sat, Feb 4, 9:59 PM
    • 18 Lines
  • 1​Fetching template transclusions...
    2​Processing [[ve:Wikipedia:Community Portal]]
    3​125 Threads found on [[ve:Wikipedia:Community Portal]]
    4​Looking for: {{User:MABot/config}} in [[ve:Wikipedia:Community Portal]]
    5​Processing 125 threads
    6...
    • Sat, Feb 4, 8:11 PM
    • 19 Lines
  • 1​from https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=revisions&titles=The+Battle+Pavane&rvprop=content%7Cids%7Cuser%7Ccomment&rvlimit=max
    2
    3​{
    4​ "revid": 763673305,
    5​ "parentid": 763673231,
    6...
    • Sat, Feb 4, 4:35 PM
    • 11 Lines
  • 1​1) No implementation for com.google.gerrit.server.schema.DataSourceType annotated with @com.google.inject.name.Named(value=mariadb) was bound.
    2​ while locating com.google.gerrit.server.schema.DataSourceType annotated with @com.google.inject.name.Named(value=mariadb)
    3
    4​1 error
    5​ at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1045)
    6...
    • Sat, Feb 4, 2:34 PM
    • 15 Lines
  • 1​cat ~/eclipse/java-neon/Eclipse.app/Contents/Eclipse/eclipse.ini
    2​-startup
    3​../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
    4​--launcher.library
    5​/Users/patrickmulhall/.p2/pool/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.401.v20161122-1740
    6...
    • Sat, Feb 4, 1:32 PM
    • 29 Lines
  • P4884 HTML...
    1​<!DOCTYPE html>
    2​<html>
    3​ <head>
    4​ <meta charset="UTF-8">
    5​ <title>Excel To HTML using codebeautify.org</title>
    6...
    • Sat, Feb 4, 2:38 AM
    • 31 Lines
  • 1​Unhandled Exception ("PhutilInvalidStateException")
    2​Call setViewer() before calling getViewer()!
    3​Depth Library File Where
    4​6 phabricator view/layout/PhabricatorFileLinkView.php : 138 AphrontView::getViewer()
    5​5 phabricator view/AphrontTagView.php : 161 PhabricatorFileLinkView::getTagContent()
    6...
    • Fri, Feb 3, 11:11 PM
    • 9 Lines
  • 1​root@labnet1001:/home/rush# python ./check_nova_creation.py --max-pool 3
    2​2017-02-03 18:07:11,466 INFO Starting new HTTP connection (1): labcontrol1001.wikimedia.org
    3​2017-02-03 18:07:11,477 INFO Resetting dropped connection: labcontrol1001.wikimedia.org
    4​2017-02-03 18:07:11,630 INFO Starting new HTTP connection (1): labnet1001.eqiad.wmnet
    5​2017-02-03 18:07:12,897 INFO Creating test-create-1486145231
    6...
    • Fri, Feb 3, 7:16 PM
    • 14 Lines
  • 1​/mnt/nfs/labstore-secondary-tools-project/spiarticleanalyzer/www/python/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    2​ SNIMissingWarning
    3​/mnt/nfs/labstore-secondary-tools-project/spiarticleanalyzer/www/python/venv/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs....
    • Fri, Feb 3, 5:11 PM
    • 3 Lines
  • 1​halfak@deployment-tin:/srv/deployment/ores/deploy$ scap deploy -v
    2​20:30:13 Started deploy [ores/deploy@9fd75a1]
    3​20:30:13 Deploying Rev: 9fd75a1109495cbe479893df0cb7ab56846548d9
    4​20:30:13 Update DEPLOY_HEAD
    5​20:30:13 Creating /srv/deployment/ores/deploy/.git/DEPLOY_HEAD
    6...
    • Fri, Feb 3, 3:45 PM
    • 19 Lines
  • 1
    2​date: 2017-02-03T10:45:22+00:00
    3​tool: pageviews
    4​language: de
    5​chart: line
    6...
    • Fri, Feb 3, 10:45 AM
    • 16 Lines
  • 1​root@PRODUCTION s4[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1064 |
    6...
    • Fri, Feb 3, 9:49 AM
    • 30 Lines
  • 1​ysql:root@localhost [(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1095 |
    6...
    • Fri, Feb 3, 7:17 AM
    • 30 Lines
  • 1​root@phabricator:/srv/phab/phabricator# bin/search init
    2​[2017-02-03 00:18:02] EXCEPTION: (PhutilProxyException) ElasticSearch server returned invalid JSON! {>} (PhutilJSONParserException) Parse error on line 1 at column 0: Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' at [<phutil>/src/parser/PhutilJSONParser.php:32]
    3​arcanist(), phabricator(), phutil(), security(), sprint(), wmf-ext-misc()
    4​ #0 <#2> PhutilJSONParser::parse(string) called at [<phutil>/src/utils/utils.php:1154]
    5​ #1 <#2> phutil_json_decode(string) called at [<phabricator>/src/applications/search/fulltextstorage/PhabricatorElasticFulltextStorageEngine.php:549]
    6...
    • Fri, Feb 3, 12:18 AM
    • 7 Lines
  • 1​{
    2​ "_source": [
    3​ "namespace",
    4​ "title"
    5​ ],
    6...
    • Thu, Feb 2, 8:59 PM
    • 50 Lines
  • 1​Last login: Thu Feb 2 13:03:42 on ttys005
    2​ssh
    3​~
    4​cpettet@cair>ssh db1072.mgmt.eqiad.wmnet
    5​The authenticity of host 'db1072.mgmt.eqiad.wmnet (<no hostip for proxy command>)' can't be established.
    6...
    • Thu, Feb 2, 7:35 PM
    • 23 Lines
  • 1​[8433033.798955] md: super_written gets error=-5, uptodate=0
    2​[8433033.798962] md/raid10:md1: Disk failure on sdc3, disabling device.
    3​[8433033.798962] md/raid10:md1: Operation continuing on 3 devices.
    4​[8433033.854423] end_request: I/O error, dev sdc, sector 4104
    5​[8433033.878845] md: super_written gets error=-5, uptodate=0
    6...
    • Thu, Feb 2, 5:39 PM
    • 21 Lines
  • 1​gehel@relforge1001:~$ sudo smartctl -a /dev/sdc
    2​smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-100-generic] (local build)
    3​Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    4
    5​=== START OF INFORMATION SECTION ===
    6...
    • Thu, Feb 2, 5:38 PM
    • 25 Lines
  • 1​== On Wikidata but not on Commons ==
    2​3005
    3​3007
    4​3009
    5​3022
    6...
    • Thu, Feb 2, 4:14 PM
    • 156 Lines
  • 1$ cdsh -- md5sum /srv/deployment/prometheus/jmx_exporter/lib/jmx_prometheus_javaagent-0.8-20170117.190412-1.jar
    2restbase1007.eqiad.wmnet: 0667027f3f3b84289e16e768ba1bbf12 /srv/deployment/prometheus/jmx_exporter/lib/jmx_prometheus_javaagent-0.8-20170117.190412-1.jar
    3restbase1010.eqiad.wmnet: 39e7081a35df11a3619b0a9a2f08fb62 /srv/deployment/prometheus/jmx_exporter/lib/jmx_prometheus_javaagent-0.8-20170117.190412-1.jar
    4restbase1011.eqiad.wmnet: 39e7081a35df11a3619b0a9a2f08fb62 /srv/deployment/prometheus/jmx_exporter/lib/jmx_prometheus_javaagent-0.8-20170117.190412-1.jar
    5restbase1016.eqiad.wmnet: 39e7081a35df11a3619b0a9a2f08fb62 /srv/deployment/prometheus/jmx_exporter/lib/jmx_prometheus_javaagent-0.8-20170117.190412-1.jar
    6
    7...
    • Thu, Feb 2, 3:18 PM
    • 7 Lines
  • 1​Related to https://gerrit.wikimedia.org/r/#/c/335373/
    2
    3​When a snapshot is being generated:
    4
    5​ $ nodepool alien-list
    6...
    • Thu, Feb 2, 2:16 PM
    • 15 Lines
  • 1​java.lang.OutOfMemoryError: Java heap space
    2​Halting due to Out Of Memory Error...
    3​17/02/02 10:22:38 ERROR mortbay.log: /jobhistory/job/job_1485458133961_27412/static/jquery/themes-1.9.1/base/images/ui-icons_454545_256x240.png
    4​java.lang.OutOfMemoryError: Java heap space
    5​17/02/02 10:23:38 INFO retry.RetryInvocationHandler: Exception while invoking getListing of class ClientNamenodeProtocolTranslatorPB over analytics1001.eqiad.wmnet/10.64.36.118:8020. Trying to fail over immediately.
    6...
    • Thu, Feb 2, 10:36 AM
    • 11 Lines
  • 1​== Bylines (Frequency|Name) ==
    2​6562|Bengt A Lundberg
    3​0511|John-Eric Gustafsson
    4​0408|Lars Kennerstedt
    5​0366|Pål-Nils Nilsson
    6...
    • Thu, Feb 2, 9:19 AM
    • 49 Lines
  • 1​ERROR:conftool:load_service Backend error while loading services: Backend error: The request requires user authentication : Insufficient credentials
    2​Creating service aqs/cassandra
    3​WARNING:conftool:Setting default_values to the default value {'pooled': 'no', 'weight': 0}
    4​ERROR:conftool:load_service Backend error while loading services: Backend error: The request requires user authentication : Insufficient credentials
    5​Creating service maps/cassandra
    6...
    • Thu, Feb 2, 8:51 AM
    • 8 Lines
  • 1
    2​date: 2017-02-02T06:29:38+00:00
    3​tool: pageviews
    4​language: en
    5​chart: bar
    6...
    • Thu, Feb 2, 6:30 AM
    • 16 Lines
  • 1​tools.precise-tools@tools-bastion-02:~/www/python/src$ ../venv/bin/python
    2​Python 2.7.9 (default, Jun 29 2016, 13:08:31)
    3​[GCC 4.9.2] on linux2
    4​Type "help", "copyright", "credits" or "license" for more information.
    5​>>> import precise_tools
    6...
    • Wed, Feb 1, 9:16 PM
    • 12 Lines
  • 1$ kafkacat wmfrequest "cache_status":"miss"
    2- count: 35744 entries
    3- first-dt: 2017-02-01T17:54:16
    4- last-dt: 2017-02-01T17:54:35
    5- diff: 19s
    6
    7...
    • Wed, Feb 1, 6:29 PM
    • 26 Lines
  • 1​MariaDB [phabricator_search]> SELECT phid FROM `search_documentfield` field WHERE MATCH(corpus, stemmedCorpus) AGAINST ('+\"task\"' IN BOOLEAN MODE) LIMIT 1000;
    2​+--------------------------------+
    3​| phid |
    4​+--------------------------------+
    5​| PHID-CMIT-fdwavdpgtao7ocpvcori |
    6...
    • Wed, Feb 1, 4:47 PM
    • 26 Lines
  • 1​MariaDB [test]> SELECT * FROM event ORDER BY timestamp DESC,log_timestamp DESC LIMIT 500\G
    2​<snip>
    3​500 rows in set (19.88 sec)
    4​MariaDB [test]> explain SELECT * FROM event ORDER BY timestamp DESC,log_timestamp DESC LIMIT 500;
    5​+------+-------------+-------+------+---------------+------+---------+------+---------+----------------+
    6...
    • Wed, Feb 1, 3:23 PM
    • 15 Lines