Page MenuHomePhabricator
Paste Active Pastes
  • import json
    import os
    import re
    import time
    import sys
    ...
    • Aug 2 2019, 10:18 PM
    • 161 Lines
  • root@gerrit-test5:/var/log# sudo /usr/bin/env lxc-start -F --name mediawiki-vagrant_default_1555605637248_92504
    lxc-start: cgroups/cgfsng.c: create_path_for_hierarchy: 1306 Path "/sys/fs/cgroup/systemd//lxc/mediawiki-vagrant_default_1555605637248_92504" already existed.
    lxc-start: cgroups/cgfsng.c: cgfsng_create: 1363 No such file or directory - Failed to create /sys/fs/cgroup/systemd//lxc/mediawiki-vagrant_default_1555605637248_92504: No such file or directory
    lxc-start: cgroups/cgfsng.c: create_path_for_hierarchy: 1306 Path "/sys/fs/cgroup/systemd//lxc/mediawiki-vagrant_default_1555605637248_92504-1" already existed.
    lxc-start: cgroups/cgfsng.c: cgfsng_create: 1363 No such file or directory - Failed to create /sys/fs/cgroup/systemd//lxc/mediawiki-vagrant_default_1555605637248_92504-1: No such file or directory
    ...
    • Aug 2 2019, 8:31 PM
    • 29 Lines
  • diff --git a/tmp/i18n.php b/tmp/master.php
    index d4af1a7b70..a21bfa51aa 100644
    --- a/tmp/i18n.php
    +++ b/tmp/master.php
    @@ -220,7 +220,10 @@
    ...
    • Aug 2 2019, 4:09 PM
    • 16 Lines
    • Diff
  • [thcipriani@deploy1001 ~]$ grep -c valueview-expertextender /srv/mediawiki-staging/php-1.34.0-wmf.16/cache/l10n/upstream/l10n_cache-cs.cdb.json
    0
    [thcipriani@deploy1001 ~]$ grep -c valueview-expertextender /srv/mediawiki-staging/php-1.34.0-wmf.15/cache/l10n/upstream/l10n_cache-cs.cdb.json
    4
    • Aug 2 2019, 3:57 PM
    • 4 Lines
  • --- codfw/sectionLoads live
    +++ codfw/sectionLoads generated
    @@ -79,21 +79,22 @@
    "db2046": 0
    },
    ...
    • Aug 2 2019, 7:55 AM
    • 26 Lines
  • GuzzleHttp\Exception\ConnectException:
    cURL error 7: Failed to connect to wiki port 443: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
    at vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:185
    at GuzzleHttp\Handler\CurlFactory::createRejection(object(EasyHandle), array('errno' => 7, 'error' => 'Failed to connect to wiki port 443: Connection refused', 'url' => 'https://wiki/api.php?action=query&prop=imageinfo&iiprop=url&titles=File%3ASpeech_bubbles.svg&format=json&formatversion=2', 'content_type' => null, 'http_code' => 0, 'header_size' => 0, 'request_size' => 0, 'filetime' => -1, 'ssl_verify_result' => 0, 'redirect_count' => 0, 'total_time' => 0.029843, 'namelookup_time' => 0.029396, 'connect_time' => 0.0, 'pretransfer_time' => 0.0, 'size_upload' => 0.0, 'size_download' => 0.0, 'speed_download' => 0.0, 'speed_upload' => 0.0, 'download_content_length' => -1.0, 'upload_content_length' => -1.0, 'starttransfer_time' => 0.0, 'redirect_time' => 0.0, 'redirect_url' => '', 'primary_ip' => '', 'certinfo' => array(), 'primary_port' => 0, 'local_ip' => '', 'local_port' => 0))
    ...
    • Aug 2 2019, 1:26 AM
    • 48 Lines
  • Correction to: Stigma in the context of pregnancy termination after diagnosis of fetal anomaly: associations with grief, trauma, and depression.
    Correction to: Stigma in the context of pregnancy termination after diagnosis of fetal anomaly: associations with grief, trauma, and depression.
    scientific article published on 20 January 2018
    επιστημονικό άρθρο
    scienca artikolo
    ...
    • Aug 1 2019, 4:08 PM
    • 267 Lines
  • Q47651066
    Correction to: Stigma in the context of pregnancy termination after diagnosis of fetal anomaly: associations with grief, trauma, and depression.
    Correction to: Stigma in the context of pregnancy termination after diagnosis of fetal anomaly: associations with grief, trauma, and depression.
    scientific article published on 20 January 2018
    επιστημονικό άρθρο
    ...
    • Aug 1 2019, 4:06 PM
    • 329 Lines
  • #!/usr/bin/php
    <?php
    // This script takes dbctl-JSON-formatted configuration, as produced by e.g.
    // dbctl -s eqiad config get
    // and transforms it into PHP suitable for pasting into db-eqiad.php in an
    ...
    • Aug 1 2019, 3:47 PM
    • 36 Lines
    • PHP
  • cdanis@evebox ~/work/gits/conftool 🕦☕ ./export.php =(dbctl -s eqiad config get)
    $wgLBFactoryConf['sectionLoads'] = array (
    'DEFAULT' =>
    array (
    'db1075' => 0,
    ...
    • Aug 1 2019, 3:42 PM
    • 12 Lines
  • #!/usr/bin/env python3
    """
    Given a Gerrit URL, build its scap summary in the backport deployment format.
    Usage:
    ...
    • Aug 1 2019, 2:01 PM
    • 70 Lines
    • Python
  • --- codfw/groupLoadsBySection live
    +++ codfw/groupLoadsBySection generated
    @@ -52,21 +52,22 @@
    },
    "watchlist": {
    ...
    • Aug 1 2019, 7:35 AM
    • 52 Lines
  • --- eqiad/groupLoadsBySection live
    +++ eqiad/groupLoadsBySection generated
    @@ -1,32 +1,32 @@
    {
    "DEFAULT": {
    ...
    • Aug 1 2019, 7:10 AM
    • 71 Lines
  • result for https://gerrit.wikimedia.org/r/c/operations/puppet/+/525449
    "List open tasks which have had the same assignee for four years or more"
    SELECT CONCAT("https://phabricator.wikimedia.org/T", t.id) AS taskID, u.userName, from_unixtime(ta.dateModified) AS since FROM phabricator_maniphest.maniphest_task t JOIN phabricator_user.user u JOIN phabricator_maniphest.maniphest_transaction ta WHERE (ta.transactionType = "reassign" AND ta.dateModified < (UNIX_TIMESTAMP() - 126144000)) AND u.phid = SUBSTR(ta.newValue, INSTR(ta.newValue, 'PHID-USER-'), 30) AND ta.objectPHID = t.phid AND t.ownerPHID = u.phid AND (t.status = "open" OR t.status = "stalled") ORDER BY ta.dateModified;
    ...
    • Jul 31 2019, 5:31 PM
    • 281 Lines
  • --- codfw/sectionLoads live
    +++ codfw/sectionLoads generated
    @@ -72,21 +72,20 @@
    "db2123": 100,
    "db2128": 100
    ...
    • Jul 31 2019, 5:15 PM
    • 24 Lines
  • srwiki before:
    ▶ ab -n 100 -c 10 http://127.0.0.1:6927/sr.wikipedia.org/v1/page/summary/%D0%9A%D0%B0%D0%BD%D0%B0%D0%B4%D0%B0
    This is ApacheBench, Version 2.3 <$Revision: 1826891 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    ...
    • Jul 31 2019, 5:05 PM
    • 134 Lines
  • # MASTER
    This is ApacheBench, Version 2.3 <$Revision: 1807734 $>
    Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Licensed to The Apache Software Foundation, http://www.apache.org/
    ...
    • Jul 31 2019, 3:58 PM
    • 89 Lines
  • --- eqiad/groupLoadsBySection live
    +++ eqiad/groupLoadsBySection generated
    @@ -1,32 +1,32 @@
    {
    "DEFAULT": {
    ...
    • Jul 31 2019, 2:47 PM
    • 75 Lines
  • --- eqiad/sectionLoads live
    +++ eqiad/sectionLoads generated
    @@ -1,17 +1,17 @@
    {
    "DEFAULT": [
    ...
    • Jul 31 2019, 2:28 PM
    • 21 Lines
  • --- eqiad/sectionLoads live
    +++ eqiad/sectionLoads generated
    @@ -1,17 +1,17 @@
    {
    "DEFAULT": [
    ...
    • Jul 31 2019, 2:01 PM
    • 21 Lines
  • --- eqiad/sectionLoads live
    +++ eqiad/sectionLoads generated
    @@ -1,16 +1,17 @@
    {
    "DEFAULT": [
    ...
    • Jul 31 2019, 1:51 PM
    • 20 Lines
  • --- eqiad/sectionLoads live
    +++ eqiad/sectionLoads generated
    @@ -1,17 +1,16 @@
    {
    "DEFAULT": [
    ...
    • Jul 31 2019, 1:19 PM
    • 20 Lines
  • --- codfw/groupLoadsBySection live
    +++ codfw/groupLoadsBySection generated
    @@ -50,23 +50,23 @@
    "vslow": {
    "db2055": 1
    ...
    • Jul 31 2019, 7:36 AM
    • 54 Lines
  • $ php7.2
    <?php
    $empty = '';
    $obj->$empty = '';
    Warning: Creating default object from empty value in Standard input code on line 3
    ...
    • Jul 31 2019, 12:21 AM
    • 17 Lines
  • {
    "$schema": "/mediawiki/jade/entity/1.0.0",
    "facets": {
    "editquality": {
    "proposals": [
    ...
    • Jul 30 2019, 4:51 PM
    • 65 Lines
    • JSON
  • jadeproposeorendorse -- Catch all, routing method that tries to *do the right thing*
    @param title (str) The encoded entity name. (E.g. "Jade:Diff/123456") [required if entitytype or entityid are not set]
    @param entitydata (json) The type of Jade entity (E.g., {"type": "diff", "id": 3245678}) [required if title not set]
    @param facet (str) The facet of the entity being labeled [required]
    @param labeldata (json) The relevant new label data [required]
    ...
    • Jul 30 2019, 4:38 PM
    • 110 Lines
    • Jul 30 2019, 4:24 PM
    • 87 Lines
  • cdanis@deployment-deploy01:~$ mwscript eval.php enwiki
    > print_r($wgLBFactoryConf);
    Array
    (
    [class] => LBFactoryMulti
    ...
    • Jul 30 2019, 3:34 PM
    • 74 Lines
  • cdanis@deployment-mediawiki-07:/var/log$ mwscript eval.php enwiki
    > print_r($wgLBFactoryConf);
    Array
    (
    [class] => LBFactoryMulti
    ...
    • Jul 30 2019, 3:07 PM
    • 73 Lines
  • 12:39:52.062 [main] INFO org.wikidata.query.rdf.tool.Update - Starting Updater 0.3.2-SNAPSHOT (2629afc6287b660a4576d795debea6781879afff)
    12:39:52.729 [main] INFO o.w.q.r.t.change.ChangeSourceContext - Checking where we left off
    12:39:52.729 [main] INFO o.w.query.rdf.tool.rdf.RdfRepository - Checking for left off time from the updater
    12:39:52.873 [main] INFO o.w.query.rdf.tool.rdf.RdfRepository - Found left off time from the updater
    12:39:52.874 [main] INFO o.w.q.r.t.change.ChangeSourceContext - Found start time in the RDF store: 2019-07-30T12:06:13Z
    ...
    • Jul 30 2019, 1:11 PM
    • 183 Lines
  • ✔️ cdanis@mwdebug2002.codfw.wmnet /srv/mediawiki/wmf-config 🕣☕ mwscript eval.php enwiki
    > print_r($wmfDbconfigFromEtcd);
    Array
    (
    [readOnlyBySection] => Array
    ...
    • Jul 30 2019, 12:43 PM
    • 589 Lines
  • --- eqiad/sectionLoads live
    +++ eqiad/sectionLoads generated
    @@ -89,21 +89,21 @@
    "db1086": 200,
    "db1090:3317": 1,
    ...
    • Jul 30 2019, 12:36 PM
    • 25 Lines
  • Now running conftool-merge to sync any changes to conftool data
    Running conftool-sync on /etc/conftool/data
    2019-07-30 10:38:50 [INFO] conftool::yaml_log_error: Error parsing yaml file /etc/conftool/etcdrc: [Errno 2] No such file or directory: '/etc/conftool/etcdrc'
    2019-07-30 10:38:50 [INFO] conftool::load_files: Loading data for entity discovery from /etc/conftool/data
    2019-07-30 10:38:50 [INFO] conftool::load_files: Parsing file /etc/conftool/data/discovery/mediawiki.yaml
    ...
    • Jul 30 2019, 10:39 AM
    • 37 Lines
  • 2019-07-30 10:29:24 [WARNING] etcd.client::_check_cluster_id: etcd response did not contain a cluster ID
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/conftool/drivers/__init__.py", line 79, in _wrapper
    return fn(*args, **kwdargs)
    File "/usr/lib/python3/dist-packages/conftool/drivers/etcd.py", line 119, in delete
    ...
    • Jul 30 2019, 10:30 AM
    • 32 Lines
  • /* <nowiki>
    *
    * taxobox.js by [[User:FelixReimann]] with help from [[User:Ricordisamoa]]
    * based on [[User:Ricordisamoa/Wikispecies.js]]
    */
    ...
    • Jul 29 2019, 10:32 PM
    • 37 Lines
  • --- codfw/groupLoadsBySection live
    +++ codfw/groupLoadsBySection generated
    @@ -1 +1,252 @@
    -{}
    +{
    ...
    • Jul 29 2019, 1:57 PM
    • 761 Lines
  • eqiad/s1: master changed PLACEHOLDER => db1067
    eqiad/s2: master changed PLACEHOLDER => db1066
    eqiad/s3: master changed PLACEHOLDER => db1075
    eqiad/s4: master changed PLACEHOLDER => db1081
    eqiad/s5: master changed PLACEHOLDER => db1070
    ...
    • Jul 29 2019, 1:56 PM
    • 18 Lines
  • eqiad/db1061: sections changed {} => {'s6': {'percentage': 100, 'weight': 0, 'pooled': True}}
    eqiad/db1061: host_ip changed 0.0.0.0 => 10.64.32.227
    eqiad/db1062: host_ip changed 0.0.0.0 => 10.64.48.15
    eqiad/db1062: sections changed {} => {'s7': {'weight': 0, 'pooled': True, 'percentage': 100}}
    eqiad/db1066: host_ip changed 0.0.0.0 => 10.64.0.110
    ...
    • Jul 29 2019, 1:52 PM
    • 294 Lines
  • Traceback (most recent call first):
    File "/usr/lib/python3/dist-packages/ldap3/core/pooling.py", line 172, in find_active_server
    sleep(get_config_parameter('POOLING_LOOP_TIMEOUT'))
    File "/usr/lib/python3/dist-packages/ldap3/core/pooling.py", line 82, in get_server
    self.last_used_server = self.find_active_server(self.last_used_server + 1)
    ...
    • Jul 27 2019, 10:56 PM
    • 17 Lines
  • [112762.649163] BUG: unable to handle kernel NULL pointer dereference at 00000000000000c0
    [112762.650689] IP: [<ffffffff946c4290>] cpuacct_account_field+0x20/0x50
    [112762.651702] PGD 0 [112762.652005]
    [112762.652280] Oops: 0000 [#1] SMP
    [112762.652756] Modules linked in: rpcsec_gss_krb5 auth_rpcgss oid_registry nfsv4 dns_resolver nfs lockd grace fscache sch_ingress cls_u32 sch_htb crct10dif_pclmul crc32_pclmul qxl virtio_console ttm ghash_clmulni_intel drm_kms_helper joydev virtio_balloon evdev drm pcspkr serio_raw button act_mirred ifb sunrpc ip_tables x_tables autofs4 ext4 crc16 jbd2 crc32c_generic fscrypto ecb mbcache ata_generic virtio_blk virtio_net crc32c_intel uhci_hcd ehci_hcd ata_piix aesni_intel aes_x86_64 glue_helper lrw gf128mul libata ablk_helper usbcore cryptd usb_common psmouse scsi_mod virtio_pci virtio_ring i2c_piix4 virtio
    ...
    • Jul 26 2019, 10:00 PM
    • 208 Lines
  • (20:58) vagrant@localhost:[wiki]> explain SELECT 6 AS `namespace`,img_name AS `title` FROM `machine_vision_label` JOIN `image` ON ((mvl_image_sha1 = img_sha1)) WHERE mvl_review = '0' GROUP BY img_sha1,mvl_image_sha1 ORDER BY mvl_image_sha1 DESC LIMIT 2;
    +------+-------------+----------------------+------+--------------------------------------------+-----------------+---------+---------------------------+------+---------------------------------+
    | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
    +------+-------------+----------------------+------+--------------------------------------------+-----------------+---------+---------------------------+------+---------------------------------+
    | 1 | SIMPLE | image | ALL | img_sha1 | NULL | NULL | NULL | 7 | Using temporary; Using filesort |
    ...
    • Jul 26 2019, 8:59 PM
    • 8 Lines
  • cdanis@evebox /tmp/gerritstats 🕤☕ curl 'https://gerrit.wikimedia.org/r/changes/?q=is:merged+path:wmf-config/CommonSettings.php' | tail -n+2 | jq -r '.[] | .change_id' > /tmp/commonchangeids
    cdanis@evebox /tmp/gerritstats 🕤☕ wc -l ../commonchangeids
    500 ../commonchangeids
    ...
    • Jul 26 2019, 1:43 PM
    • 28 Lines
    • Shell
  • Jul 26 08:26:52 cp5011 puppet-agent[41102]: (/Stage[main]/Profile::Cache::Ssl::Unified/Tlsproxy::Localssl[unified]/Acme_chief::Cert[unified]/File[/etc/acmecerts/unified/a40ba19e20ff4516bb7906d154cf5539]/ensure) created
    Jul 26 08:26:52 cp5011 puppet-agent[41102]: (/Stage[main]/Profile::Cache::Ssl::Unified/Tlsproxy::Localssl[unified]/Acme_chief::Cert[unified]/File[/etc/acmecerts/unified/a40ba19e20ff4516bb7906d154cf5539/ec-prime256v1.chained.crt]/ensure) defined content as '{md5}cdcd9230dad16d13d2c9225a15d02a5a'
    Jul 26 08:26:52 cp5011 puppet-agent[41102]: (/Stage[main]/Profile::Cache::Ssl::Unified/Tlsproxy::Localssl[unified]/Acme_chief::Cert[unified]/File[/etc/acmecerts/unified/a40ba19e20ff4516bb7906d154cf5539/ec-prime256v1.key]/ensure) defined content as '{md5}6a5cf5b2d62ee17036133a6d54a259e0'
    Jul 26 08:26:52 cp5011 puppet-agent[41102]: (/Stage[main]/Profile::Cache::Ssl::Unified/Tlsproxy::Localssl[unified]/Acme_chief::Cert[unified]/File[/etc/acmecerts/unified/a40ba19e20ff4516bb7906d154cf5539/rsa-2048.chained.crt]/ensure) defined content as '{md5}e064a89c1281057e44973cd5f73b8037'
    Jul 26 08:26:53 cp5011 puppet-agent[41102]: (/Stage[main]/Profile::Cache::Ssl::Unified/Tlsproxy::Localssl[unified]/Acme_chief::Cert[unified]/File[/etc/acmecerts/unified/a40ba19e20ff4516bb7906d154cf5539/rsa-2048.key]/ensure) defined content as '{md5}21dc517379d4502d7e59b9916f712113'
    ...
    • Jul 26 2019, 8:46 AM
    • 50 Lines
  • Jul 25 14:32:44 icinga1001 icinga[66682]: errors in config! ... failed!
    Jul 25 14:56:21 icinga1001 icinga[70243]: errors in config! ... failed!
    Jul 25 15:32:42 icinga1001 icinga[183404]: errors in config! ... failed!
    Jul 25 15:41:11 icinga1001 icinga[107319]: errors in config! ... failed!
    • Jul 25 2019, 3:59 PM
    • 4 Lines
  • cdanis@puppetmaster1001.eqiad.wmnet ~ ☕ sudo -i puppet-merge
    Checking for pending merges in /labs/private
    Fetching new commits from https://gerrit.wikimedia.org/r/labs/private
    No changes to merge.
    Fetching new commits from https://gerrit.wikimedia.org/r/operations/puppet
    ...
    • Jul 25 2019, 3:51 PM
    • 195 Lines
  • <Krinkle> #startmeeting TechCom RFC meeting
    <wm-labs-meetbot> Meeting started Wed Jul 24 21:10:19 2019 UTC and is due to finish in 60 minutes. The chair is Krinkle. Information about MeetBot at http://wiki.debian.org/MeetBot.
    <wm-labs-meetbot> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.
    <wm-labs-meetbot> The meeting name has been set to 'techcom_rfc_meeting'
    <Krinkle> #topic Merge Extension:Theme into core
    ...
    • Jul 25 2019, 9:47 AM
    • 251 Lines
  • import pluggy
    from pprint import pprint as print
    from tox.config import DepConfig
    hookimpl = pluggy.HookimplMarker("tox")
    ...
    • Jul 24 2019, 9:58 PM
    • 46 Lines
  • (python3) km@km-pt ~/g/i/commit-message-validator> cat tox.ini
    [tox]
    # Environements to execute when invoking 'tox'
    envlist = py{27,34,35,36,37}-{flake8,pytest}
    ...
    • Jul 24 2019, 9:51 PM
    • 153 Lines
  • [thcipriani@deploy1001 blubberoid (master % u=)]$ pwd
    /srv/deployment-charts/helmfile.d/services/staging/blubberoid
    [thcipriani@deploy1001 blubberoid (master % u=)]$ KUBECONFIG=/etc/kubernetes/blubberoid-staging.config helmfile diff
    Adding repo stable https://releases.wikimedia.org/charts/
    "stable" has been added to your repositories
    ...
    • Jul 24 2019, 8:40 PM
    • 18 Lines
  • create_enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4"
    WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    create_enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4-meta:
    ...
    • Jul 24 2019, 3:06 PM
    • 552 Lines
    • YAML
  • create_others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4"
    WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    create_others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4-meta:
    ...
    • Jul 24 2019, 3:06 PM
    • 184 Lines
    • YAML
  • P8798 pcs.sh
    #!/bin/bash
    set -e
    KEYSPACES=(
    ...
    • Jul 24 2019, 3:06 PM
    • 73 Lines
    • Shell
  • create_enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4"
    WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    create_:
    ...
    • Jul 24 2019, 1:55 PM
    • 552 Lines
    • YAML
  • create_others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4"
    WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    create_:
    ...
    • Jul 24 2019, 1:55 PM
    • 184 Lines
    • YAML
  • P8795 pcs.sh
    #!/bin/bash
    set -e
    KEYSPACES=(
    ...
    • Jul 24 2019, 1:55 PM
    • 73 Lines
  • $ grep CREATE pcs_production.yaml |grep TABLE | awk '{ print $6; }' | sort
    "enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4".meta
    "enwiki_T_metadata".meta
    "enwiki_T_mobileVuV78NVnWlTWLhDwwr5v2FMH2wA".meta
    "enwiki_T_references".meta
    ...
    • Jul 24 2019, 1:37 PM
    • 25 Lines
  • varnishtest "Cache key and PURGE"
    server s1 {
    rxreq
    expect req.url == "/1"
    ...
    • Jul 24 2019, 11:36 AM
    • 48 Lines
  • maurelio@deployment-deploy01:~$ foreachwiki extensions/AbuseFilter/maintenance/fixOldLogEntries.php --verbose --dry-run
    -----------------------------------------------------------------
    aawiki
    -----------------------------------------------------------------
    aawiki: FixOldLogEntries: would update 0 rows out of 0 rows found.
    ...
    • Jul 24 2019, 10:57 AM
    • 197 Lines
  • #############
    # Initial state we have an extension Thing with a method draw
    #############
    /////////////
    // Core
    ...
    • Jul 24 2019, 9:16 AM
    • 204 Lines
    • PHP
  • root@logstash1010:~# kafkacat -C -b logstash1010.eqiad.wmnet:9092,logstash1012.eqiad.wmnet:9092 -t rsyslog-err -o 2195178 -p 1 -c1
    {"timestamp":"2019-07-23T18:53:57.734906+00:00", "message":"SlowTimer [10081ms] at runtime\/ext_mysql: slow query: REPLACE \/* SqlBagOStuff::updateTableKeys index.php@mw1326 *\/ INTO `pc019` (keyname,value,exptime) VALUES ('enwiki:pcache:idhash:19065069-0!canonical!responsiveimages=0','??ے?H?&???S?g?:?f?P?LJU?_RJ)e?25)e?Ռ??@#022#014\\\"#003#004X8D(????#035?o???۾?ms?ߡg?I=?^?Z?#016ǁ#014DPY?3?!#025t8#034~\\\\??????`????O? ????E?{:#036>?????io?1????eTg:?O?O{?[???*????l???:?Vi???$v?d?,?(???O? ????>\\r???#002?]m??S????(?}o#035f?ȿ}\\Z\\'q?sߧ?.pva#034fy?????2???I6N?\\r???0#017?ηa|?Nv?{B?p????#037???m????????wO??<???#033U\\'?7?2??\\\\??tm?q#023?????0??????d}K????[g?D?ޏ?#033??9?Gߏ?oOWAL=}?I⼟?#016h?&???M#020^n??$Z[ϝ??ţg?#025k\\n?I???&\\\\??i?#011??#023?Q#030#007?#034?]??t?Gh?w????{On«???m???*?#033j?H1????9Z??#016?t??n[???????D:?گ?2JVW?w2#011#?Q#017o#023??#0274???&??Y#0227?...
    • Jul 23 2019, 9:21 PM
    • 2 Lines
  • /Users/pchelko/.nvm/versions/node/v10.16.0/bin/node /Users/pchelko/wiki/restbase/sys/action.js
    create_others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "others_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4" WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    ...
    • Jul 23 2019, 8:55 PM
    • 203 Lines
    • YAML
  • create_enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    statement: |
    CREATE KEYSPACE IF NOT EXISTS "enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4" WITH replication = {'class': 'NetworkTopologyStrategy', 'codfw': '3', 'eqiad': '3'} AND durable_writes = true;
    create_meta_enwiki_T_mediaEKhjXRLvi0_47tdHyL7nahpjtY4:
    ...
    • Jul 23 2019, 8:54 PM
    • 597 Lines
    • YAML
  • 1 10.192.16.54
    1 10.192.32.51
    2 10.192.48.93
    3 10.64.16.109
    7 10.64.32.211
    ...
    • Jul 23 2019, 7:57 PM
    • 21 Lines
  • cdanis@deploy1001.eqiad.wmnet /srv/mediawiki-staging ☕ scap sync-file docroot/noc/db.php '8def4af1d noc db.php: include readonly status & group loads'
    ___ ____
    ⎛ ⎛ ,----
    \ //==--'
    _//|,.·//==--' ____________________________
    ...
    • Jul 23 2019, 6:03 PM
    • 69 Lines
  • Interface down->up events in librenms, looking at both sides of the Level 3 wave from esams to eqiad:
    Where both sides reported the issue, the outermost timestamps for linkdown/linkup from both are used.
    Where only one side reports, it's noted afterwards.
    ...
    • Jul 23 2019, 4:41 PM
    • 12 Lines
  • ==> default: Running provisioner: lsb_check...
    ==> default: Running provisioner: file_perms...
    ==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20190723-30002-1tjzlgf.sh
    ==> default: Running provisioner: puppet...
    ...
    • Jul 23 2019, 3:13 PM
    • 3,546 Lines
  • P8783 jsub env
    JOURNAL_STREAM=8:13160
    SGE_ROOT=/var/lib/gridengine
    PATH=/tmp/6211468.1.task:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    INVOCATION_ID=a612c9015dc6442d9584f2b420ed2b8f
    SGE_CELL=default
    ...
    • Jul 23 2019, 9:52 AM
    • 47 Lines
    • Shell
  • {"batchcomplete":true,"warnings":{"main":{"warnings":"Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application."},"revisions":{"warnings":"Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."}},"query":{"pages":[{"pageid":49877,"ns":0,"title":"Spam","revisions":[{"timestamp":"2009-06-20T12:07:26Z","contentformat":"text/x-wiki","contentmodel":"wikitext","content":"Hello, World! (Bot test; should be reverted in about one minute)"}],"contentmodel":"wikitext","pagelanguage":"en","pagelanguagehtmlcode":"en","pagelanguagedir":"ltr","touched":"2012-11-02T18:54:26Z","lastrevid":75276,"length":64,"new":true,"actions":{"edit":[{"code":"blocked","text":"You have been blocked from editing.","data"...
    • Jul 23 2019, 9:44 AM
    • 1 Line
  • diff --git a/usr/bin/jsub b/jsub
    index 4c40494..91f0477 100755
    --- a/usr/bin/jsub
    +++ b/jsub
    @@ -394,6 +394,10 @@ def build_qsub_argparser():
    ...
    • Jul 23 2019, 12:26 AM
    • 23 Lines
    • Diff
  • # reprepro -C main include buster pynetbox_4.0.6-2_amd64.changes
    Cannot find definition of distribution 'buster'!
    There have been errors!
    • Jul 22 2019, 5:40 PM
    • 3 Lines
  • <?php
    require_once __DIR__ . '/.docker/LocalSettings.php';
    wfLoadExtension( 'UniversalLanguageSelector' );
    ...
    • Jul 20 2019, 6:54 AM
    • 86 Lines
    • PHP
  • Jul 19 18:13:04 deployment-acme-chief04 acme-chief-backend[15385]: Prevalidating CN and SNI list for non-canonical-redirect-1 / ec-prime256v1
    Jul 19 18:13:04 deployment-acme-chief04 acme-chief-backend[15385]: Traceback (most recent call last):
    Jul 19 18:13:04 deployment-acme-chief04 acme-chief-backend[15385]: File "/usr/bin/acme-chief-backend", line 11, in <module>
    Jul 19 18:13:04 deployment-acme-chief04 acme-chief-backend[15385]: load_entry_point('acme-chief==0.19', 'console_scripts', 'acme-chief-backend')()
    Jul 19 18:13:04 deployment-acme-chief04 acme-chief-backend[15385]: File "/usr/lib/python3/dist-packages/acme_chief/acme_chief.py", line 860, in main
    ...
    • Jul 19 2019, 6:15 PM
    • 19 Lines
  • ERROR [com.google.gerrit.httpd.restapi.RestApiServlet] Error in GET /r/projects/wikimedia%2Fiegreview/dashboards?inherited
    java.lang.NullPointerException
    at com.google.gerrit.server.project.DashboardsCollection.replace(DashboardsCollection.java:242)
    at com.google.gerrit.server.project.DashboardsCollection.parse(DashboardsCollection.java:216)
    ...
    • Jul 19 2019, 11:54 AM
    • 65 Lines
  • # Experimental virtualhost to test new puppetmaster backends
    <VirtualHost *:8140>
    ServerName foo.example.com
    SSLEngine on
    ...
    • Jul 19 2019, 11:25 AM
    • 60 Lines
  • To review:
    these are all related to the wb_terms migration and are not yet ready:
    wbt_text
    ...
    • Jul 19 2019, 9:03 AM
    • 76 Lines
  • Jul 18 13:16:02 cp3030 varnishmtail[31151]: panic: runtime error: index out of range
    Jul 18 13:16:02 cp3030 varnishmtail[31151]: goroutine 39 [running]:
    Jul 18 13:16:02 cp3030 varnishmtail[31151]: bytes.(*Buffer).WriteByte(0xc0002ef6c0, 0xc000550178, 0x0, 0x0)
    Jul 18 13:16:02 cp3030 varnishmtail[31151]: /usr/lib/go-1.11/src/bytes/buffer.go:271 +0xa8
    Jul 18 13:16:02 cp3030 varnishmtail[31151]: bytes.(*Buffer).WriteRune(0xc0002ef6c0, 0x78, 0xeda, 0x78, 0x1)
    ...
    • Jul 18 2019, 1:28 PM
    • 18 Lines
  • --- /tmp/monkey_patches.rb 2019-07-18 11:07:55.727483702 +0100
    +++ /home/jbond/git/puppet/vendor/bundle/ruby/2.5.0/gems/puppet-4.8.2/lib/puppet/util/monkey_patches.rb 2019-07-18 11:08:20.187516818 +0100
    @@ -101,7 +101,9 @@
    else
    DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_NO_SSLv2 | OpenSSL::SSL::OP_NO_SSLv3
    ...
    • Jul 18 2019, 10:09 AM
    • 14 Lines
    • Diff
  • 02:21:43 1) MediaWiki\Extension\Tei\Converter\BetweenTeiAndHtmlConverterTest::testRountripConversion with data set #0 ('Basic full file', '<text xmlns="http://www.tei-c.../text>', '<article data-tei-tag="text">...ticle>')
    02:21:43 Object of class Closure could not be converted to int
    02:21:43
    02:21:43 /workspace/src/vendor/wikimedia/remex-html/RemexHtml/DOM/DOMBuilder.php:34
    02:21:43 /workspace/src/extensions/TEI/includes/DOMDocumentFactory.php:62
    ...
    • Jul 18 2019, 1:59 AM
    • 650 Lines
  • ext.score.visualEditor.icons ['ext.score.visualEditor']
    jquery.wikibase.entitysearch ['wikibase.ui.entitysearch']
    mw.config.values.wbDataTypes ['wikibase.dataTypeStore']
    mw.config.values.wbEntityTypes ['wikibase.ui.entityViewInit']
    mw.config.values.wbGeoShapeStorageApiEndpoint ['wikibase.ui.entityViewInit']
    ...
    • Jul 17 2019, 10:32 PM
    • 97 Lines
  • P8769 getid3
    <?php
    class getID3
    {
    /**
    ...
    • Jul 17 2019, 10:03 PM
    • 162 Lines
  • Traceback (most recent call last):
    File "./utility", line 4, in <module>
    editquality.main()
    File "/srv/home/accraze/editquality/editquality/editquality.py", line 50, in main
    module.main(sys.argv[2:])
    ...
    • Jul 17 2019, 9:04 PM
    • 10 Lines
  • DROP TABLE IF EXISTS neilpquinn.toledo_pageviews;
    CREATE EXTERNAL TABLE IF NOT EXISTS neilpquinn.toledo_pageviews
    (
    `count` bigint COMMENT 'pageview count',
    `year` int COMMENT 'Unpadded year of request',
    ...
    • Jul 17 2019, 8:29 PM
    • 28 Lines
    • SQL
  • Jul 17 16:51:10 upgrader-05 gunicorn[20402]: Traceback (most recent call last):
    Jul 17 16:51:10 upgrader-05 gunicorn[20402]: File "/srv/libraryupgrader/venv/lib/python3.5/site-packages/flask/app.py", line 2446, in wsgi_app
    Jul 17 16:51:10 upgrader-05 gunicorn[20402]: response = self.full_dispatch_request()
    Jul 17 16:51:10 upgrader-05 gunicorn[20402]: File "/srv/libraryupgrader/venv/lib/python3.5/site-packages/flask/app.py", line 1951, in full_dispatch_request
    Jul 17 16:51:10 upgrader-05 gunicorn[20402]: rv = self.handle_user_exception(e)
    ...
    • Jul 17 2019, 4:51 PM
    • 56 Lines
  • ======================================================================
    ERROR: test_all_cycle (conftool.tests.integration.test_dbconfig.ConftoolTestCase)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
    File "/home/cdanis/work/gits/conftool/conftool/tests/integration/test_dbconfig.py", line 79, in test_all_cycle
    ...
    • Jul 17 2019, 3:03 PM
    • 22 Lines
  • Script started on Wed 17 Jul 2019 12:15:01 PM UTC
    urbanecm@mwmaint1002:~$ foreachwiki extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php
    -----------------------------------------------------------------
    arwiki
    -----------------------------------------------------------------
    ...
    • Jul 17 2019, 12:24 PM
    • 94 Lines
  • Script started on Wed 17 Jul 2019 12:08:21 PM UTC
    urbanecm@mwmaint1002:~$ mwscript extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php --wiki=viwiki
    No throttle parameters to normalize.
    normalizeThrottleParameter beautified 1 rows in abuse_filter_history for the following history IDs: 48
    Throttle parameters successfully normalized. Changed 1 rows.
    ...
    • Jul 17 2019, 12:08 PM
    • 8 Lines
  • Script started on Wed 17 Jul 2019 12:06:07 PM UTC
    urbanecm@mwmaint1002:~$ sql cawiki
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A
    ...
    • Jul 17 2019, 12:06 PM
    • 34 Lines
  • Script started on Wed 17 Jul 2019 12:02:48 PM UTC
    urbanecm@mwmaint1002:~$ mwscript extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php --wiki=cawiki
    Throttle parameters successfully normalized. Changed 2 rows.
    urbanecm@mwmaint1002:~$ exit
    ...
    • Jul 17 2019, 12:03 PM
    • 6 Lines
  • urbanecm@mwmaint1002:~$ foreachwiki extensions/AbuseFilter/maintenance/normalizeThrottleParameters.php --dry-run
    -----------------------------------------------------------------
    arwiki
    -----------------------------------------------------------------
    arwiki: No throttle parameters to normalize.
    ...
    • Jul 17 2019, 11:58 AM
    • 98 Lines
  • #!/usr/bin/env python3
    import csv
    import json
    ...
    • Jul 17 2019, 9:42 AM
    • 32 Lines
    • Python
  • │ │ --- mediawiki-1.33.0/vendor/composer/autoload_classmap.php
    │ ├── +++ mediawiki-1.33.1/vendor/composer/autoload_classmap.php
    │ │┄ Files similar despite different names (score: 50, lower is more similar)
    │ │ @@ -1,51 +1,15 @@
    │ │ <?php
    ...
    • Jul 17 2019, 8:42 AM
    • 2,936 Lines
  • ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCvOHlh3TmyQS07L9YIM+n34twu2bBVA+/kvD/XA7YU1bnp0MjcHvqa0Fc/ZiLAXByM3wYcukojn80M1+ASxpJ89BmH7t7MpzvYX/qwPSL03WnNeaNaJ6aBhBmI9IwCZaJV9dQItgnD6fEhKJWb6VNRwmwBI8zh+muWLhZjwilKPb50tCumSmsP+iF6Pjz9JzhkHGqVEGM62UugO90aMX+Wrfd39XOgcG+smiOPy0NNw6E3VqcqffWPagdsIbAZPspiuBNmGnHR5LZWWISljrblhiYRZzl27H7n0d+wUvAHrtFxiFDf/AmUn1pRSWTxhyPC6EOS+dVngW0BDG/JN62gD3mL8HPUav7v1wVQWIBCHdZLLlPq/6FdbS8Pu6gsfy6pkpIk/huE1Nfu9B0Zijhu1JVbegkJUN/kKkTG+TvSJpcLkndANIymkX44lOePUxRdHaycDFu9XXFFCNHJaKuPB00tusOmXwKqPX6idSaqsk0tf1+ju5QEzWLK425adhSsX9Y/SWhtBJ3EPa5RGDgD0Zs98evfaiE6bjJZqWrsMARoot8Pl1BovcXCRz6cxoovhplgw7VRM9G9J/WVQa4eHFMQUJN+Qinq1wODQoDEH5cejjF7CViewIDVF+hejEjbBa/iACT6mwoV8+prOOG36eALii9mL49nZVvxTOBs2w== alaasarhan@alsa
    • Jul 16 2019, 9:44 PM
    • 1 Line
  • [thcipriani@contint1001 ~]$ docker pull docker-registry.wikimedia.org/nodejs10-slim:latest
    Error response from daemon: manifest for docker-registry.wikimedia.org/nodejs10-slim:latest not found
    • Jul 16 2019, 5:56 PM
    • 2 Lines
  • file: modules/wmflib/types/services_proxy/service.pp
    type Wmflib::Services_proxy::Service = Struct[{
    'hostname' => Stdlib::Host,
    'localport' => Stdlib::Port::Unprivileged,
    'port' => Stdlib::Port,
    ...
    • Jul 16 2019, 5:08 PM
    • 16 Lines
    • Puppet
  • cat hieradata/common/profile/services_proxy.yml
    profile::services_proxy:
    servicename:
    hostname: foo
    ...
    • Jul 16 2019, 4:14 PM
    • 12 Lines
  • cat hieradata/common/profile/services_proxy.yml
    profile::services_proxy:
    hostname: foo
    localport: 8080
    port: 80
    ...
    • Jul 16 2019, 4:11 PM
    • 9 Lines
  • ema@ariel:~$ mtr --report -n -c 10 bastion-restricted.wmflabs.org
    Start: 2019-07-16T17:54:01+0200
    HOST: ariel Loss% Snt Last Avg Best Wrst StDev
    1.|-- 192.168.1.1 0.0% 10 1.3 1.2 0.8 1.5 0.2
    2.|-- 62.52.200.178 0.0% 10 15.1 15.1 14.7 15.6 0.3
    ...
    • Jul 16 2019, 3:54 PM
    • 23 Lines
  • ema@orion:~$ mtr -n --report bastion-restricted.wmflabs.org -c 10
    Start: 2019-07-16T16:11:52+0200
    HOST: orion Loss% Snt Last Avg Best Wrst StDev
    1.|-- 192.168.178.1 0.0% 10 19.0 18.7 3.5 24.6 5.9
    2.|-- 84.59.211.1 0.0% 10 19.0 19.8 18.0 28.2 3.1
    ...
    • Jul 16 2019, 2:12 PM
    • 23 Lines
  • ssh ores1001.eqiad.wmnet -vv
    OpenSSH_7.9p1, LibreSSL 2.7.3
    debug1: Reading configuration data /Users/acraze/.ssh/config
    debug1: /Users/acraze/.ssh/config line 1: Applying options for *
    debug1: /Users/acraze/.ssh/config line 39: Applying options for *.wmnet
    ...
    • Jul 15 2019, 8:46 PM
    • 15 Lines
  • [19:00:54] <Daimona> Hello, is it already known that channels aren't working anymore on logstash since 12:30? See e.g. https://logstash.wikimedia.org/app/kibana#/discover?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-24h,mode:quick,to:now))&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(query_string:(query:'channel:StashEdit')),sort:!('@timestamp',desc))
    [19:01:31] <wikibugs> (^C03PS2^O) ^C10^BRobH^O: puppetmaster1003 production dns entries [dns] - ^C10https://gerrit.wikimedia.org/r/523231^O (https://phabricator.wikimedia.org/T201342)
    [19:01:54] <wikibugs> (^C03CR^O) ^C10^Bjerkins-bot^O: [V: ^C04-1^O] puppetmaster1003 production dns entries [dns] - ^C10https://gerrit.wikimedia.org/r/523231^O (https://phabricator.wikimedia.org/T201342) (owner:
    ^C10^BRobH^O)
    [19:02:15] <Daimona> And it seems not to be about channels only
    ...
    • Jul 15 2019, 6:28 PM
    • 28 Lines