Page MenuHomePhabricator
Paste Active Pastes
  • root@cloud-puppetmaster-01:~# cat ip6tables.saved.3
    *filter
    :INPUT DROP [0:0]
    -A INPUT --match state --state ESTABLISHED,RELATED --jump ACCEPT
    COMMIT
    ...
    • Apr 5 2019, 9:22 PM
    • 8 Lines
  • While stracing `ip6tables -t filter -A INPUT --match state --state ESTABLISHED,RELATED --jump ACCEPT`:
    socket(AF_INET6, SOCK_RAW, IPPROTO_RAW) = 4
    fcntl(4, F_SETFD, FD_CLOEXEC) = 0
    getsockopt(4, SOL_IPV6, IP6T_SO_GET_INFO, "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\377\377\377\377\0\0\0\0\320\0\0\0\240\1\0\0\377\377\377\377\377\377\377\377\0\0\0\0\320\0\0\0\240\1\0\0\377\377\377\377\4\0\0\0X\3\0\0", [84]) = 0
    ...
    • Apr 5 2019, 8:56 PM
    • 7 Lines
  • mtail::ensure: 'stopped'
    cache::cluster: upload
    cache::lua_support: true
    cache::upload::nodes:
    eqiad:
    ...
    • Apr 5 2019, 7:46 AM
    • 36 Lines
  • On branch master
    Your branch is ahead of 'origin/master' by 2 commits.
    (use "git push" to publish your local commits)
    nothing to commit, working tree clean
    • Apr 5 2019, 5:01 AM
    • 4 Lines
  • (function($, mw) {
    'use strict';
    var windowManager;
    var SD;
    var SDOptions = {
    ...
    • Apr 5 2019, 1:46 AM
    • 130 Lines
  • # Add the following to your ~/.gitconfig:
    [url "ssh://your-username@gerrit.wikimedia.org:29418/"]
    pushInsteadOf = https://gerrit.wikimedia.org/r/p/
    pushInsteadOf = https://gerrit.wikimedia.org/r/
    • Apr 4 2019, 8:40 PM
    • 5 Lines
    • INI Configuration
  • Icinga 1.13.4
    Copyright (c) 2009-2015 Icinga Development Team (http://www.icinga.org)
    Copyright (c) 2009-2013 Nagios Core Development Team and Community Contributors
    Copyright (c) 1999-2009 Ethan Galstad
    ...
    • Apr 4 2019, 4:59 PM
    • 102 Lines
  • P8346 bad CSS
    #content > #right > .dose > .dosesingle, #content > #center > .dose > .dosesingle, .page-ads, AD-SLOT, AD-TRIPLE-BOX, ADS-RIGHT, AFS-AD, DFP-AD, FBS-AD, LEADERBOARD-AD, [ad-id^="googlead"], [href*="//xml.revrtb.com/"], [id^="bunyad_ads_"], [lazy-ad="leftbottom_banner"], [lazy-ad="leftthin_banner"], [lazy-ad="lefttop_banner"], [lazy-ad="top_banner"], [onclick^="window.open('http://adultfriendfinder.com/search/"], [onclick^="window.open('https://www.brazzersnetwork.com/landing/"], [onclick^="window.open('window.open('//delivery.trafficfabrik.com/"], [src^="/Redirect.a2b?"], a[data-obtrack^="http://paid.outbrain.com/network/redir?"], a[data-oburl^="http://paid.outbrain.com/network/redir?"], a[data-oburl^="https://paid.outbrain.com/network/redir?"], a[data-redirect^="http://click.plista.com/pets"], a[data-redirect^="http://paid.outbrain.com/network/redir?"], a[data-redirect^="https://paid.outbrain.com/network/redir?"], a[data-redirect^="this.href='http://paid.outbrain.com/network/redir?"], a[data-url^="http ...
    • Apr 4 2019, 1:16 PM
    • 3 Lines
    • CSS
  • string(14) "query-m: BEGIN"
    string(237) "query-m: SELECT user_id,user_name,user_real_name,user_email,user_touched,user_token,user_email_authenticated,user_email_token,user_email_token_expires,user_registration,user_editcount FROM `user` WHERE user_id = 'X' LIMIT N [TRX#89fb91]"
    string(95) "query-m: SELECT ug_user,ug_group,ug_expiry FROM `user_groups` WHERE ug_user = 'X' [TRX#89fb91]"
    string(93) "query-m: SELECT up_property,up_value FROM `user_properties` WHERE up_user = 'X' [TRX#89fb91]"
    string(39) "query-m: SHOW GLOBAL VARIABLES LIKE 'X'"
    ...
    • Apr 3 2019, 9:33 PM
    • 12 Lines
  • 215 MIN General
    50 MIN Communication:Catchup
    60 MIN Meetings:Monthlyactivities
    90 MIN Timesheeting:Code
    410 MIN Releng
    ...
    • Apr 3 2019, 3:50 PM
    • 17 Lines
  • Updating bf27ac0..b29c9c5
    Fast-forward
    .eslintrc.json | 3 +-
    .phan/config.php | 5 +
    WikibaseSchema.i18n.alias.php | 2 +
    ...
    • Apr 3 2019, 3:45 PM
    • 213 Lines
  • gehel@cumin2001:~$ sudo -i cookbook sre.elasticsearch.rolling-reboot search_codfw "reboot for JVM + kernel upgrade" --start-datetime 2019-04-03T12:00:00 --nodes-per-run 3
    START - Cookbook sre.elasticsearch.rolling-reboot
    waiting for clusters to be green
    Fetch 3 node(s) from search_codfw to perform rolling restart on
    Scheduling downtime on Icinga server icinga1001.wikimedia.org for hosts: elastic[2030,2041,2043].codfw.wmnet
    ...
    • Apr 3 2019, 3:04 PM
    • 132 Lines
  • DNS:*.wikipedia.org, DNS:*.m.mediawiki.org, DNS:*.m.wikibooks.org, DNS:*.m.wikidata.org, DNS:*.m.wikimedia.org, DNS:*.m.wikimediafoundation.org, DNS:*.m.wikinews.org, DNS:*.m.wikipedia.org, DNS:*.m.wikiquote.org, DNS:*.m.wikisource.org, DNS:*.m.wikiversity.org, DNS:*.m.wikivoyage.org, DNS:*.m.wiktionary.org, DNS:*.mediawiki.org, DNS:*.planet.wikimedia.org, DNS:*.wikibooks.org, DNS:*.wikidata.org, DNS:*.wikimedia.org, DNS:*.wikimediafoundation.org, DNS:*.wikinews.org, DNS:*.wikiquote.org, DNS:*.wikisource.org, DNS:*.wikiversity.org, DNS:*.wikivoyage.org, DNS:*.wiktionary.org, DNS:*.wmfusercontent.org, DNS:*.zero.wikipedia.org, DNS:mediawiki.org, DNS:w.wiki, DNS:wikibooks.org, DNS:wikidata.org, DNS:wikimedia.org, DNS:wikimediafoundation.org, DNS:wikinews.org, DNS:wikiquote.org, DNS:wikisource.org, DNS:wikiversity.org, DNS:wikivoyage.org, DNS:wiktionary.org, DNS:wmfusercontent.org, DNS:wikipedia.org, DNS:appservers-rw.discovery.wmnet, DNS:appservers-ro.discovery.wmnet, DNS:appservers.svc.eqiad.wmnet
    • Apr 3 2019, 2:58 PM
    • 1 Line
  • krenair@deployment-puppetmaster03:~$ curl 'http://169.254.169.254/latest/meta-data/' -vvv
    * Trying 169.254.169.254...
    * TCP_NODELAY set
    * Connected to 169.254.169.254 (169.254.169.254) port 80 (#0)
    > GET /latest/meta-data/ HTTP/1.1
    ...
    • Apr 3 2019, 1:56 PM
    • 50 Lines
  • ~ % cat .weechat/logs/irc.znc.\#wikimedia-operations.weechatlog| grep 'Catalog fetch fail' | cut -f1 -d' ' | uniq -c
    1 2018-11-08
    2 2018-11-09
    2 2018-11-10
    2 2018-11-11
    ...
    • Apr 3 2019, 1:20 PM
    • 116 Lines
  • krenair@deployment-cumin:~$ sudo cumin '*' 'curl "http://169.254.169.254/latest/meta-data/instance-type" -s'
    69 hosts will be targeted:
    deployment-acme-chief[03-04].deployment-prep.eqiad.wmflabs,deployment-aqs[01-03].deployment-prep.eqiad.wmflabs,deployment-cache-text05.deployment-prep.eqiad.wmflabs,deployment-cache-upload04.deployment-prep.eqiad.wmflabs,deployment-changeprop.deployment-prep.eqiad.wmflabs,deployment-chromium[01-02].deployment-prep.eqiad.wmflabs,deployment-conf03.deployment-prep.eqiad.wmflabs,deployment-cpjobqueue.deployment-prep.eqiad.wmflabs,deployment-cumin.deployment-prep.eqiad.wmflabs,deployment-db[05-06].deployment-prep.eqiad.wmflabs,deployment-deploy[01-02].deployment-prep.eqiad.wmflabs,deployment-dumps-puppetmaster02.deployment-prep.eqiad.wmflabs,deployment-elastic[05-07].deployment-prep.eqiad.wmflabs,deployment-etcd-01.deployment-prep.eqiad.wmflabs,deployment-eventgate-analytics-1.deployment-prep.eqiad.wmflabs,deployment-eventlog05.deployment-prep.eqiad.wmflabs,deployment-fluorine02.deployment-prep.eqiad.wmflabs,deployment-imagescaler[01-03].deployment-prep.eqiad.wmflabs,deployment-ircd.deployment-prep.eqiad.wmflabs,deployment-jobrunner03.deployment-prep.eqiad.wmflabs,deployment-kafka-jumbo-[1-2].deployment-prep.eqiad.wmflabs,deployment-kafka-main-[1-2].deployment-prep.eqiad.wmflabs,deployment-logstash2.deployment-prep.eqiad.wmflabs,deployment-maps[04-05].deployment-prep.eqiad.wmflabs,deployment-mathoid.deployment-prep.eqiad.wmflabs,deployment-mcs01.deployment-prep.eqiad.wmflabs,deployment-mediawiki-[07,09].deployment-prep.eqiad.wmflabs,deployment-memc[04-07].deployment-prep.eqiad.wmflabs,deployment-ms-be[03-04].deployment-prep.eqiad.wmflabs,deployment-ms-fe02.deployment-prep.eqiad.wmflabs,deployment-mwmaint01.deployment-prep.eqiad.wmflabs,deployment-mx02.deployment-prep.eqiad.wmflabs,deployment-ores01.deployment-prep.eqiad.wmflabs,deployment-parsoid09.deployment-prep.eqiad.wmflabs,deployment-pdfrender02.deployment-prep.eqiad.wmflabs,deployment-poolcounter04.deployment-prep.eqiad.wmflabs,deployment-prometheus02.deployment-prep.eqiad.wmflabs,deployment-puppetdb02.deployment-prep.eqiad.wmflabs,deployment-puppetmaster03.deployment-prep.eqiad.wmflabs,deployment-restbase[01-02].deployment-prep.eqiad.wmflabs,deployment-sca[01-02,04].deployment-prep.eqiad.wmflabs,deployment-sentry01.deployment-prep.eqiad.wmflabs,deployment-sessionstore01.deployment-prep.eqiad.wmflabs,deployment-snapshot01.deployment-prep.eqiad.wmflabs,deployment-urldownloader02.deployment-prep.eqiad.wmflabs,deployment-webperf[11-12].deployment-prep.eqiad.wmflabs,deployment-zookeeper02.deployment-prep.eqiad.wmflabs
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Apr 3 2019, 12:06 PM
    • 37 Lines
  • AH00526: Syntax error on line 21 of /etc/apache2/sites-enabled/50-xhgui-apache-site.conf:
    AuthLDAPBindPassword takes one argument, Password to use to bind to LDAP server. If not provided, will do an anonymous bind.
    Action 'configtest' failed.
    The Apache error log may have more information.
    • Apr 3 2019, 11:40 AM
    • 4 Lines
  • willikins:puppet vgutierrez$ python3 /tmp/snis.py
    [*] checking 128 SNIs
    [*] checking 64 unique SNIs
    [*] checking wiikipedia.com
    [*] checking wikimedia.ee
    ...
    • Apr 2 2019, 9:03 AM
    • 67 Lines
  • willikins:puppet vgutierrez$ python3 /tmp/snis.py
    [*] checking 132 SNIs
    [*] checking 66 unique SNIs
    [*] checking en-wp.com
    [*] checking wikipedia.org.il
    ...
    • Apr 2 2019, 8:17 AM
    • 73 Lines
  • willikins:puppet vgutierrez$ python3 /tmp/snis.py
    [*] checking 132 SNIs
    [*] checking 66 unique SNIs
    [*] checking wikispecies.com
    [!] unable to fetch CAA records for wikispecies.com
    ...
    • Apr 2 2019, 8:10 AM
    • 99 Lines
  • [sync]
    mode = "one-way-safe"
    [ignore]
    vcs = true
    ...
    • Apr 1 2019, 5:02 PM
    • 9 Lines
    • INI Configuration
  • ebernhardson@relforge1001:~$ cat current.q
    {
    "suggest": {
    "text": "whose knowledge",
    "suggest": {
    ...
    • Apr 1 2019, 3:30 PM
    • 65 Lines
  • ebernhardson@relforge1001:~$ cat test.q
    {
    "suggest": {
    "some name": {
    "text": "whose knowledge",
    ...
    • Apr 1 2019, 3:28 PM
    • 44 Lines
  • vagrant@m1:/vagrant$ make all
    sudo service slapd stop
    sudo -u openldap find /var/lib/slapd -type f -exec rm {} \;
    sudo -u openldap slapadd -l init_data.ldif
    5ca22d74 /etc/ldap/slapd.conf: line 70: rootdn is always granted unlimited privileges.
    ...
    • Apr 1 2019, 1:18 PM
    • 115 Lines
    • Bash Scripting
  • problem starts, icinga and users notice:
    07:37 < _joe_> fatal: unable to access 'https://gerrit.wikimedia.org/r/operations/puppet/': The requested URL returned error: 502
    07:38 < _joe_> ok gerrit seems to be down again
    ...
    • Mar 29 2019, 12:16 PM
    • 60 Lines
  • * << Request >> 494449821
    - Begin req 494449820 rxreq
    - Timestamp Start: 1553857744.690754 0.000000 0.000000
    - Timestamp Req: 1553857744.690754 0.000000 0.000000
    - ReqStart ::1 32335
    ...
    • Mar 29 2019, 11:15 AM
    • 142 Lines
  • * << Request >> 316104827
    - Begin req 316104826 rxreq
    - Timestamp Start: 1553857725.299984 0.000000 0.000000
    - Timestamp Req: 1553857725.299984 0.000000 0.000000
    - ReqStart ::1 54691
    ...
    • Mar 29 2019, 11:14 AM
    • 151 Lines
  • # varnish-be
    $ curl -s -v -H "Accept-Encoding: gzip" -H "Host: upload.wikimedia.org" cp2002.codfw.wmnet:3128/wikipedia/commons/thumb/b/b7/Fridtjof_Nansen_1880.jpg -o /dev/null
    * Trying 10.192.0.123...
    * TCP_NODELAY set
    * Connected to cp2002.codfw.wmnet (10.192.0.123) port 3128 (#0)
    ...
    • Mar 29 2019, 11:01 AM
    • 53 Lines
  • {
    "description": "Logs interactions with the homepage modules on the Special:Homepage provided by the GrowthExperiments extension",
    "properties": {
    "action": {
    "type": "string",
    ...
    • Mar 29 2019, 2:14 AM
    • 68 Lines
    • JSON
  • {
    "description": "Log visits to Special:Homepage (provided by Extension:GrowthExperiments) from the server-side.",
    "properties": {
    "is_mobile": {
    "type": "boolean",
    ...
    • Mar 29 2019, 2:02 AM
    • 89 Lines
    • JSON
  • select ifnull(up_value, 'no pref set') 'skin', (count(*)*100)/(select count(*) from user left join user_properties on up_user =user_id and up_property = 'skin' inner join recentchanges on rc_user = user_id and rc_type <= 3 and rc_user <> 0 ) 'percent of edits' from user left join user_properties on up_user =user_id and up_property = 'skin' inner join recentchanges on rc_user = user_id and rc_type <= 3 and rc_user <> 0 group by up_value order by 2 desc ;
    • Mar 28 2019, 6:56 PM
    • 1 Line
    • SQL
  • ["3",
    "4",
    "5",
    "6",
    "7",
    ...
    • Mar 28 2019, 12:26 PM
    • 999 Lines
  • Task State StartTime Command
    ------------------------------------------------------------------------------
    Queue: WorkQueue
    1625c165 23:00:00.080 18:50:13.005 Log File Compressor
    7613dd12 18:50:17.984 18:50:16.906 [delete-project]: Clean up expired git repositories from the archive [/var/lib/gerrit2/review_site/data/delete-project]
    ...
    • Mar 27 2019, 6:50 PM
    • 9 Lines
  • Task State StartTime Command
    ------------------------------------------------------------------------------
    Queue: Index-Batch
    5593a062 16:34:01.030 Index change 248572 of project mediawiki/core
    4671b92d waiting .... 16:34:01.030 Index change 137033 of project mediawiki/core
    ...
    • Mar 27 2019, 6:48 PM
    • 7,037 Lines
  • Task State StartTime Command
    ------------------------------------------------------------------------------
    1502085b 16:34:01.030 Index change 333218 of project mediawiki/core
    ee948d5a 18:37:43.859 git-upload-pack mediawiki/core
    0e94815a 18:37:43.859 git-upload-pack mediawiki/core
    ...
    • Mar 27 2019, 6:45 PM
    • 7,064 Lines
  • ar 27 11:18:41 tools-proxy-03 kube2proxy[10739]: 2019-03-27 11:18:41,474 Service zppixbot/zppixbot/.* is ADDED
    Mar 27 11:24:48 tools-proxy-03 kube2proxy[10739]: 2019-03-27 11:24:48,520 An error occurred while watching for changes, starting from scratch
    Mar 27 11:24:48 tools-proxy-03 kube2proxy[10739]: 2019-03-27 11:24:48,521 Exception was: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
    Mar 27 11:24:48 tools-proxy-03 kube2proxy[10739]: Traceback (most recent call last):
    Mar 27 11:24:48 tools-proxy-03 kube2proxy[10739]: File "/usr/lib/python3/dist-packages/urllib3/response.py", line 451, in _update_chunk_length
    ...
    • Mar 27 2019, 4:02 PM
    • 370 Lines
  • // Line 8406 is case CLIENT_TRANSACTION_RESULT_ERROR_ABORT
    // $s:struct State* $total_time:ink_hrtime $client_transaction_result:enum ClientTransactionResult_t $total_msec:ink_hrtime
    probe process("/usr/bin/traffic_server").statement("client_result_stat@./proxy/http/HttpTransact.cc:8406")
    {
    ui = $s->unmapped_url->m_url_impl
    ...
    • Mar 27 2019, 3:36 PM
    • 27 Lines
  • amsa@amsa-Latitude-7480:~/puppet$ grep -ir "hiera('statsd')" .
    ./modules/profile/manifests/kafka/broker.pp: $statsd = hiera('statsd'),
    ./modules/profile/manifests/prometheus/statsd_exporter.pp: String $relay_address = hiera('statsd'),
    ./modules/profile/manifests/eventbus.pp: $statsd_host = hiera('statsd'),
    ./modules/profile/manifests/cache/kafka/webrequest.pp: $statsd = hiera('statsd'),
    ...
    • Mar 27 2019, 2:31 PM
    • 14 Lines
  • => Updating eventgate ...
    [*] Updating repo in /vagrant/srv/eventgate ...
    From https://github.com/wikimedia/eventgate
    31b5d5f..88a7f85 master -> origin/master
    First, rewinding head to replay your work on top of it...
    ...
    • Mar 27 2019, 2:17 PM
    • 705 Lines
  • @@ -162,12 +192,10 @@ filter {
    # Remove syslog added fields
    remove_field => [
    "facility",
    - "facility_label",
    ...
    • Mar 27 2019, 1:59 PM
    • 402 Lines
  • enwiki
    wikidatawiki
    commonswiki
    jawiki
    glwiki
    ...
    • Mar 27 2019, 1:58 PM
    • 34 Lines
  • ~
    ▶ cd Desktop
    ~/Desktop
    ▶ mkcd tr
    ...
    • Mar 27 2019, 12:11 PM
    • 79 Lines
  • $data = {
    'bar' => {
    'regr' => 'BAR',
    'directory' => "BARDIR"
    },
    ...
    • Mar 27 2019, 11:37 AM
    • 28 Lines
  • 02:54:06 1 ✗ zhuyifei1999@tools-sgebastion-08: ~$ (ulimit -v $(( (1<<20) * 2 )); strace -e mmap,munmap,brk -f java -Xmx1G -version)
    brk(NULL) = 0x561dc983d000
    mmap(NULL, 105680, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f12f27e3000
    mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f12f27e1000
    mmap(NULL, 2200072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f12f23c0000
    ...
    • Mar 27 2019, 2:56 AM
    • 307 Lines
  • ===== NODE GROUP =====
    (33) elastic[2025-2026,2028,2031,2034,2037-2038,2041-2042,2045-2047,2050-2052].codfw.wmnet,elastic[1017-1020,1022-1023,1028-1034,1036-1038,1040-1041].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...verything | jq .' -----
    parse error: Invalid numeric literal at line 1, column 5
    ================
    • Mar 26 2019, 10:13 PM
    • 5 Lines
  • ===== NODE GROUP =====
    (33) elastic[2025-2026,2028,2031,2034,2037-2038,2041-2042,2045-2047,2050-2052].codfw.wmnet,elastic[1017-1020,1022-1023,1028-1034,1036-1038,1040-1041].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...verything | jq .' -----
    parse error: Invalid numeric literal at line 1, column 5
    ================
    • Mar 26 2019, 10:13 PM
    • 5 Lines
  • ===== NODE GROUP =====
    (33) elastic[2025-2026,2028,2031,2034,2037-2038,2041-2042,2045-2047,2050-2052].codfw.wmnet,elastic[1017-1020,1022-1023,1028-1034,1036-1038,1040-1041].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...verything | jq .' -----
    {
    "error": {
    ...
    • Mar 26 2019, 10:13 PM
    • 25 Lines
  • ===== NODE GROUP =====
    (65) elastic[2025-2054].codfw.wmnet,elastic[1017-1020,1022-1052].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...verything | jq .' -----
    parse error: Invalid numeric literal at line 1, column 5
    ================
    • Mar 26 2019, 10:13 PM
    • 5 Lines
  • ===== NODE GROUP =====
    (65) elastic[2025-2054].codfw.wmnet,elastic[1017-1020,1022-1052].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...verything | jq .' -----
    {
    "error": {
    ...
    • Mar 26 2019, 10:11 PM
    • 25 Lines
  • ===== NODE GROUP =====
    (35) elastic[1017-1020,1022-1052].eqiad.wmnet
    ----- OUTPUT of 'curl -s http://l...er|cluster_name'' -----
    "cluster_name" : "production-search-eqiad",
    "number" : "6.5.4",
    ...
    • Mar 26 2019, 9:47 PM
    • 16 Lines
  • ===== NODE GROUP =====
    (1) elastic1034.eqiad.wmnet
    ----- OUTPUT of 'curl -s http://localhost:9200/' -----
    {
    "name" : "elastic1034-production-search-eqiad",
    ...
    • Mar 26 2019, 9:47 PM
    • 1,249 Lines
  • ===== NODE GROUP =====
    (13) elastic[2031,2033-2036,2045,2047,2049-2054].codfw.wmnet
    ----- OUTPUT of 'curl -s http://l...0/ | grep number' -----
    "number" : "5.6.14",
    ===== NODE GROUP =====
    ...
    • Mar 26 2019, 9:46 PM
    • 9 Lines
  • package main
    import (
    "encoding/json"
    "flag"
    ...
    • Mar 26 2019, 5:27 PM
    • 152 Lines
  • * How long have you professionally known or worked with the candidate?
    * What was your working relationship with xyz candidate, how you interfaced, what sorts of projects you worked closely on...?
    * The Wikimedia Foundation is unusually collaborative in nature: how do you think the candidate would do in this environment?
    * How does candidate accept constructive criticism? How do they communicate a difficult message?
    * What would you say makes candidate stand out among their peers?
    ...
    • Mar 26 2019, 4:47 PM
    • 8 Lines
  • cdanis@icinga2001.wikimedia.org ~ % ps ax | grep 'nsc[a]'
    4323 ? SL 0:00 /usr/sbin/nsca --daemon -c /etc/nsca.cfg
    4353 ? SL 0:00 /usr/sbin/nsca --daemon -c /etc/nsca.cfg
    4354 ? SL 0:00 /usr/sbin/nsca --daemon -c /etc/nsca.cfg
    4360 ? SL 0:00 /usr/sbin/nsca --daemon -c /etc/nsca.cfg
    ...
    • Mar 26 2019, 1:03 PM
    • 255 Lines
  • <div class="">
    <br><br><br><br><br><br>
    <h1>vars</h1>
    <table>
    <tr>
    ...
    • Mar 26 2019, 10:17 AM
    • 50 Lines
    • PHP
  • // Line 8406 is case CLIENT_TRANSACTION_RESULT_ERROR_ABORT
    // $s:struct State* $total_time:ink_hrtime $client_transaction_result:enum ClientTransactionResult_t $total_msec:ink_hrtime
    probe process("/usr/bin/traffic_server").statement("client_result_stat@./proxy/http/HttpTransact.cc:8406")
    {
    ui = $s->unmapped_url->m_url_impl
    ...
    • Mar 26 2019, 10:12 AM
    • 17 Lines
  • Mar 26 00:38:05 wikitech-static import-wikitech.sh[18977]: --2019-03-26 00:38:05-- https://wikitech.wikimedia.org/dumps/labswiki-20190326.xml.gz
    Mar 26 00:38:05 wikitech-static import-wikitech.sh[18977]: Resolving wikitech.wikimedia.org (wikitech.wikimedia.org)... 208.80.153.224
    Mar 26 00:38:05 wikitech-static import-wikitech.sh[18977]: Connecting to wikitech.wikimedia.org (wikitech.wikimedia.org)|208.80.153.224|:443... connected.
    Mar 26 00:38:05 wikitech-static import-wikitech.sh[18977]: HTTP request sent, awaiting response... 404 Not Found
    Mar 26 00:38:05 wikitech-static import-wikitech.sh[18977]: 2019-03-26 00:38:05 ERROR 404: Not Found.
    ...
    • Mar 26 2019, 12:38 AM
    • 63 Lines
  • Mar 26 00:01:21 wikitech-static systemd[1]: Starting Certbot...
    Mar 26 00:01:31 wikitech-static systemd[1]: Stopping The Apache HTTP Server...
    Mar 26 00:01:32 wikitech-static systemd[1]: Stopped The Apache HTTP Server.
    Mar 26 00:01:38 wikitech-static systemd[1]: Starting The Apache HTTP Server...
    Mar 26 00:01:38 wikitech-static apachectl[17256]: httpd (pid 17234) already running
    ...
    • Mar 26 2019, 12:16 AM
    • 9 Lines
  • COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    systemd 1 root cwd DIR 254,3 4096 2 /
    systemd 1 root rtd DIR 254,3 4096 2 /
    systemd 1 root txt REG 254,3 1120968 1061554 /lib/systemd/systemd
    systemd 1 root mem REG 254,3 19008 1048737 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
    ...
    • Mar 25 2019, 9:58 PM
    • 26,900 Lines
  • Fri Mar 22 00:33:13 2019
    Fri Mar 22 00:33:14 2019
    Fri Mar 22 00:33:14 2019
    Fri Mar 22 00:33:15 2019
    Fri Mar 22 00:33:15 2019
    ...
    • Mar 25 2019, 8:45 PM
    • 2,405 Lines
  • <tr><td class='dataVar'>Program Version:</td><td class='dataVal'>1.13.4</td></tr>
    <tr><td class='dataVar'>Program Start Time:</td><td class='dataVal'>2019-03-25 19:44:53</td></tr>
    <tr><td class='dataVar'>Total Running Time:</td><td class='dataVal'>0d 0h 10m 17s</td></tr>
    <tr><td class='dataVar'>Last External Command Check:</td><td class='dataVal'>2019-03-25 19:54:55</td></tr>
    <tr><td class='dataVar'>Last Log File Rotation:</td><td class='dataVal'>N/A</td></tr>
    ...
    • Mar 25 2019, 7:55 PM
    • 17 Lines
  • #!/bin/bash
    host=labsdb1011
    case $host in \
    ...
    • Mar 25 2019, 2:11 PM
    • 23 Lines
  • extracts_props n
    limit|intro|plaintext 9035373
    intro 7421959
    intro|plaintext 6027851
    chars|limit|intro|plaintext 4985313
    ...
    • Mar 22 2019, 7:43 PM
    • 86 Lines
    • SQL
  • vagrant@contrib-stretch:~/src/wmf/release$ scap task-series blockers --count 26 --date 2019-04-15 1.34.0-wmf.1
    1.34.0-wmf.1 : 2019-04-15 00:00:00, 1555286400
    20:23:11 Unhandled error:
    Traceback (most recent call last):
    File "/vagrant/scap/scap/cli.py", line 327, in run
    ...
    • Mar 21 2019, 8:23 PM
    • 16 Lines
  • [21-Mar-2019 15:03:17 UTC] 2019-03-21 3:03:17 PM [SGNL] Overseer ("13403") received signal 1 ("SIGHUP").
    [21-Mar-2019 15:03:58 UTC] 2019-03-21 3:03:58 PM [SGNL] Overseer ("13403") received signal 1 ("SIGHUP").
    [21-Mar-2019 15:04:28 UTC] 2019-03-21 3:04:28 PM [SGNL] Overseer ("13403") received signal 1 ("SIGHUP").
    [21-Mar-2019 15:05:50 UTC] 2019-03-21 3:05:50 PM [SGNL] Overseer ("13403") received signal 1 ("SIGHUP").
    [21-Mar-2019 15:05:50 UTC] 2019-03-21 3:05:50 PM [SGNL] Overseer ("13403") received signal 2 ("SIGINT").
    ...
    • Mar 21 2019, 3:40 PM
    • 7 Lines
  • #on centralauth db
    # Find users that are in the wikidata staff group
    select user_name from user_groups INNER JOIN user ON ug_user = user_id where ug_group = "wikidata-staff";
    ...
    • Mar 21 2019, 2:37 PM
    • 9 Lines
  • -----------------test2wiki-------------------------
    MariaDB [test2wiki]> select * from page_props where pp_propname = 'wikibase_item' and left(pp_value,1) = 'q';
    +---------+---------------+----------+------------+
    | pp_page | pp_propname | pp_value | pp_sortkey |
    ...
    • Mar 21 2019, 9:19 AM
    • 154 Lines
  • /*
    probe process("/usr/bin/traffic_server").function("new_connection@./proxy/http/HttpServerSession.cc:61") {
    println("HttpServerSession::new_connection")
    print_ubacktrace()
    }
    ...
    • Mar 21 2019, 8:40 AM
    • 29 Lines
  • (((ᅥݡЁ͡ձ$you set the value really high and it still stopped. My guess is you might havemprove this question
    asked Apr 2 '13 at 23:40
    TooCooL
    6,79062237
    ...
    • Mar 21 2019, 7:53 AM
    • 13 Lines
  • commit abe51c977df423f44513a0e5a860ec5d3b539917 (benchmark-tokenizer)
    Author: Tim Starling <tstarling@wikimedia.org>
    Date: Fri Dec 18 08:51:48 2015 +1100
    Benchmark tokenizer
    ...
    • Mar 21 2019, 4:10 AM
    • 121 Lines
  • diff --git a/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js b/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
    index c5e3761..0fa8bd8 100644
    --- a/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
    +++ b/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
    @@ -127,20 +127,19 @@ $( function () {
    ...
    • Mar 21 2019, 2:28 AM
    • 72 Lines
    • Diff
  • root@deployment-acme-chief03:~# openssl x509 -in /var/lib/acme-chief/certs/unified/live/rsa-2048.crt -noout -text
    Certificate:
    Data:
    Version: 3 (0x2)
    Serial Number:
    ...
    • Mar 20 2019, 6:55 PM
    • 99 Lines
  • year month day hour sugg_requested sugg_provided
    2019 3 18 0 1248647 360646
    2019 3 18 1 1239919 352674
    2019 3 18 10 987285 277958
    2019 3 18 11 1097645 308659
    ...
    • Mar 20 2019, 6:01 PM
    • 49 Lines
  • Forcing to use the ECDSA TLS certificate by setting the cipher to ECDHE-ECDSA-AES256-GCM-SHA384 we still get the OCSP response for the RSA one:
    willikins:certs vgutierrez$ echo | openssl s_client -connect localhost:3129 -servername pinkunicorn.wikimedia.org -status -cipher ECDHE-ECDSA-AES256-GCM-SHA384 2>/dev/null |openssl x509 -noout -serial
    serial=03948087E0D3AD8134158060E3D0DA9FAC67
    ...
    • Mar 20 2019, 3:25 PM
    • 34 Lines
  • git review
    remote: Branch refs/heads/master:
    remote: You need 'Push' rights to upload code review requests.
    remote: Verify that you are pushing to the right branch.
    remote: User: marostegui
    ...
    • Mar 20 2019, 6:15 AM
    • 11 Lines
  • ---
    apiVersion: tekton.dev/v1alpha1
    kind: PipelineResource
    metadata:
    name: blubber-master-branch
    ...
    • Mar 19 2019, 10:30 PM
    • 61 Lines
  • Create a new group, Trusted Users, who are allowed to read refs/*
    This effectively makes all projects hidden to users who are logged
    in (Registered Users) but who are not in the Trusted User group.
    ...
    • Mar 19 2019, 10:08 PM
    • 8 Lines
  • #!/usr/bin/env python
    import itertools
    import subprocess
    import requests
    ...
    • Mar 19 2019, 9:08 PM
    • 85 Lines
    • Python
  • From yesterday:
    /hikebike
    2934572 "-"
    247470 www.gaiagps.com
    ...
    • Mar 19 2019, 9:06 PM
    • 72 Lines
  • [thcipriani@deploy1001 VisualEditor (master u=)]$ cat .gitmodules
    [submodule "lib/ve"]
    path = lib/ve
    url = https://gerrit.wikimedia.org/r/p/VisualEditor/VisualEditor.git
    • Mar 19 2019, 3:58 PM
    • 4 Lines
  • Mar 19 15:02:33 acmechief1001 acme-chief-backend[9078]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    Mar 19 15:02:34 acmechief1001 acme-chief-backend[9078]: Number of certificates per status: Counter({'VALID': 26, 'NEEDS_RENEWAL': 2})
    Mar 19 15:02:38 acmechief1001 acme-chief-backend[9078]: Handling new certificate event for librenms / ec-prime256v1
    Mar 19 15:02:38 acmechief1001 acme-chief-backend[9078]: Creating new certificate version 6beb218837f8413d9c5c228691bd9fd8 for librenms
    Mar 19 15:02:39 acmechief1001 acme-chief-backend[9078]: Triggering DNS zone update...
    ...
    • Mar 19 2019, 3:05 PM
    • 42 Lines
  • krenair@deployment-acme-chief03:~$ sudo -i
    root@deployment-acme-chief03:~# cd /var/lib/puppet; mv ssl ssl_old; rm /usr/local/share/ca-certificates/Puppet_Internal_CA.crt; nano /usr/local/share/ca-certificates/Puppet_Internal_CA.crt; update-ca-certificates --fresh; puppet agent -tv
    Clearing symlinks in /etc/ssl/certs...
    done.
    Updating certificates in /etc/ssl/certs...
    ...
    • Mar 18 2019, 11:23 PM
    • 442 Lines
  • public Dataset<Row> buildPairsForM0Prep(Dataset<Row> df, Dataset<Row> dfOld, GlentParams params) {
    dfOld = dfOld
    .where(col("part").equalTo(params.glentDfM0PrepPartOld)) // limit to previous portion of M0Prep dataframe
    .drop(col("part"));
    ...
    • Mar 18 2019, 4:46 PM
    • 41 Lines
  • wikiadmin@10.64.32.115(enwiki)> SELECT user_name FROM user WHERE user_name IN ( select pl_title from pagelinks where pl_from = 57597719 AND pl_namespace = 3 ) AND user_touched > '20140301000000';
    +----------------------+
    | user_name |
    +----------------------+
    | Aarky |
    ...
    • Mar 18 2019, 3:28 PM
    • 230 Lines
    • SQL
  • Info: Using configured environment 'production'
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    Info: Loading facts
    Info: Caching catalog for integration-slave-docker-1051.integration.eqiad.wmflabs
    ...
    • Mar 18 2019, 11:24 AM
    • 232 Lines
  • --- /etc/haproxy/conf.d/db-master.cfg 2019-03-18 10:00:32.167405320 +0000
    +++ db-master.cfg 2019-03-18 10:00:17.562538476 +0000
    @@ -8,4 +8,4 @@
    option tcpka
    option mysql-check user haproxy
    ...
    • Mar 18 2019, 10:00 AM
    • 8 Lines
  • .overlay {
    position: absolute;
    top: 10em;
    left: 10em;
    ...
    • Mar 18 2019, 6:17 AM
    • 43 Lines
  • nfo: Using configured environment 'production'
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    Info: Loading facts
    Info: Caching catalog for tools-worker-1018.tools.eqiad.wmflabs
    ...
    • Mar 17 2019, 5:30 PM
    • 168 Lines
  • select
    event_entity,
    year,
    name_status,
    count(*) as rows
    ...
    • Mar 16 2019, 4:35 AM
    • 169 Lines
  • P8209 nscd rh
    NSCD is not caching LDAP users reliably
    SOLUTION VERIFIED - Updated August 6 2015 at 12:49 PM - English
    Environment
    Red Hat Enterprise Linux 5
    Red Hat Enterprise Linux 6
    ...
    • Mar 15 2019, 5:32 PM
    • 45 Lines
  • xrandr --setprovideroutputsource 1 0 && \
    xrandr --setprovideroutputsource 2 0 && \
    xrandr --output DVI-I-2-2 --auto --pos 1920x0 --rotate normal --output DVI-I-1-1 --auto --pos 3840x0 --rotate normal
    • Mar 15 2019, 4:19 PM
    • 3 Lines
  • ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4utj9osWuPYu5lxsbNoWMaae6K7rtabeoUDRkBw8Rs 2019-03-15-new-ubuntu-prod
    • Mar 15 2019, 2:31 PM
    • 1 Line
  • # Selenium tests
    For more information see https://www.mediawiki.org/wiki/Selenium
    ## Setup
    ...
    • Mar 15 2019, 12:41 PM
    • 21 Lines
    • Plain Text
  • #!/usr/bin/python3 -OO
    import os
    import sys
    import psutil
    ...
    • Mar 15 2019, 10:33 AM
    • 46 Lines
  • git config --global alias.st status
    git config --global alias.co checkout
    git config --global alias.ci commit
    git config --global alias.br branch
    git config --global alias.lg log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
    ...
    • Mar 14 2019, 8:46 PM
    • 14 Lines
  • git config alias.st status
    git config alias.co checkout
    git config alias.ci commit
    git config alias.br branch
    git config alias.lg log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
    ...
    • Mar 14 2019, 8:29 PM
    • 14 Lines
  • ssh -6 paladox@2620::861:3:208:80:154:85 -p 29418
    **** Welcome to Gerrit Code Review ****
    Hi Paladox, you have successfully connected over SSH.
    ...
    • Mar 14 2019, 7:31 PM
    • 12 Lines
  • import subprocess
    input_file = '/mnt/data/xmldatadumps/public/svwiki/20190301/svwiki-20190301-pages-meta-history.xml.bz2'
    output = subprocess.check_output(['getlastidinbz2xml', '-f', input_file, '--type', 'page'])
    ...
    • Mar 14 2019, 4:17 PM
    • 31 Lines
    • Python
  • maurelio@deployment-deploy01:~$ sql deploymentwiki;
    Fatal error: Uncaught RuntimeException: RedisConnectionPool requires a Redis client library. See https://www.mediawiki.org/wiki/Redis#Setup in /srv/mediawiki-staging/php-master/includes/libs/redis/RedisConnectionPool.php:80
    Stack trace:
    ...
    • Mar 14 2019, 1:56 PM
    • 11 Lines