Page MenuHomePhabricator
Feed Advanced Search

Apr 22 2024

bd808 closed T363092: Account recovery help needed for Developer account RLuts as Resolved.
$ sudo ls -lh /home/rluts/2fa-reset-request.txt
-rw------- 1 rluts wikidev 42 Apr 22 11:57 /home/rluts/2fa-reset-request.txt
$ sudo cat /home/rluts/2fa-reset-request.txt
https://phabricator.wikimedia.org/T363092
$ mwscript extensions/OATHAuth/maintenance/disableOATHAuthForUser.php --wiki=labswiki 'RLuts'
Two-factor authentication disabled for RLuts.
Apr 22 2024, 4:29 PM · User-bd808, wikitech.wikimedia.org, Trust-and-Safety, cloud-services-team
bd808 added a comment to T362958: Buildservice "network is unreachable" error.

The root problem here seems to be:

[step-build] 2024-04-19T08:31:50.877313171Z          Cannot initiate the connection to archive.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable)

For currently unexplained reasons, the DNS resolver used by the builder process resolved archive.ubuntu.com to an IPv6 address. The network in Cloud VPS & Toolforge is IPv4 only, so this in turn led to nothing working.

Apr 22 2024, 12:15 AM · Toolforge
bd808 edited projects for T362958: Buildservice "network is unreachable" error, added: Toolforge; removed Toolforge Build Service.
Apr 22 2024, 12:09 AM · Toolforge

Apr 21 2024

bd808 added a comment to T362940: Automate setup of comment, pipeline, and job webhooks for all GitLab projects .

I guess my other thought about a home for this is that it could live in gitlab-settings/configure-projects - a script which really does very little, and could be a lot smarter about what it does do, but does already iterate over projects and change some settings.

Apr 21 2024, 10:15 PM · Wikibugs, GitLab (Integrations)

Apr 19 2024

bd808 created T363033: [builds-builder] Support using custom buildpacks.
Apr 19 2024, 11:50 PM · Toolforge
bd808 closed T75771: Inform developer community of potential librarization projects as Declined.
Apr 19 2024, 11:32 PM · Developer-notice, Librarization
bd808 closed T226537: Follow up on past WMCS #wikimedia-incident tasks as Declined.

There aren't any open tasks in the search, so somehow this came to fruition.

Apr 19 2024, 11:29 PM · cloud-services-team, Epic
bd808 added a comment to T241807: Investigate replacing lighttpd with nginx in Toolforge.

Build service probably makes this investigation and implementation obsolete in that we are actively directing folks away from the shared containers and towards building their own.

Apr 19 2024, 11:27 PM · cloud-services-team, Toolforge
bd808 added a comment to T329798: Secret storage for CI jobs.

GitLab EE has mechanisms for jobs to authenticate to a Hashicorp Vault service and fetch secrets. It is not completely clear from reading https://docs.gitlab.com/ee/ci/secrets/ if there is really any support for this in CE or not.

Apr 19 2024, 11:23 PM · GitLab (CI & Job Runners)
bd808 renamed T363027: [builds-builder] Support adding repositories for Apt buildpack from [builds] Support adding repositories for Apt buildpack to [builds-builder] Support adding repositories for Apt buildpack.
Apr 19 2024, 11:11 PM · Toolforge
bd808 updated subscribers of T363027: [builds-builder] Support adding repositories for Apt buildpack.

One concrete use case for this feature would be installing toolforge-*-cli packages in a buildservice managed container. This is an idea that @Anomie and I have discussed as a potential partial solution for T356377: [toolforge] simplify calling the different toolforge apis from within the containers / T321919: Figure out and document how to call the Kubernetes API as your tool user from inside a pod.

Apr 19 2024, 10:47 PM · Toolforge
bd808 created T363028: Replace custom deployment with build service and job service.
Apr 19 2024, 10:43 PM · User-bd808, Tool-bridgebot
bd808 created T363027: [builds-builder] Support adding repositories for Apt buildpack.
Apr 19 2024, 10:31 PM · Toolforge

Apr 18 2024

bd808 triaged T362940: Automate setup of comment, pipeline, and job webhooks for all GitLab projects as Medium priority.
Apr 18 2024, 10:37 PM · Wikibugs, GitLab (Integrations)
bd808 created T362940: Automate setup of comment, pipeline, and job webhooks for all GitLab projects .
Apr 18 2024, 10:36 PM · Wikibugs, GitLab (Integrations)
bd808 closed T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data as Resolved.

Play around with it via curl --no-buffer -H 'Accept: text/event-stream' 'https://gitlab-webhooks.toolforge.org/sse/'

Apr 18 2024, 10:28 PM · User-bd808, GitLab (Integrations)
bd808 closed T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data, a subtask of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab, as Resolved.
Apr 18 2024, 10:28 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 added a comment to T362909: Diffusion mirrors of GitLab repos failing to be created by Striker.

@bd808: Does this error still appear after 2024-04-16 15:30UTC? If not, then this is likely a duplicate of T355644 (which reverted T352530 which I ideally would have never merged but lots of undocumented custom changes make it hard to foresee unwanted breakage).

Apr 18 2024, 7:34 PM · Phabricator, Striker
bd808 renamed T362889: Tool created following initial name validation failure is missing toolinfo record and having other problems with GitLab repositories from [striker] error when creating tool to Tool created following initial name validation failure is missing toolinfo record and having other problems with GitLab repositories.
Apr 18 2024, 5:35 PM · Striker
bd808 added a parent task for T317345: Mirror Striker managed GitLab repos in Diffusion: T362909: Diffusion mirrors of GitLab repos failing to be created by Striker.
Apr 18 2024, 5:32 PM · User-bd808, Striker
bd808 added a subtask for T362909: Diffusion mirrors of GitLab repos failing to be created by Striker: T317345: Mirror Striker managed GitLab repos in Diffusion.
Apr 18 2024, 5:32 PM · Phabricator, Striker
bd808 added a comment to T362909: Diffusion mirrors of GitLab repos failing to be created by Striker.

I was able to create R3385 bd808-testing-T362909 via the Phabricator web UI. Is it only the Conduit API that is failing? Are the failures intermittent?

Apr 18 2024, 5:12 PM · Phabricator, Striker
bd808 created T362909: Diffusion mirrors of GitLab repos failing to be created by Striker.
Apr 18 2024, 5:03 PM · Phabricator, Striker
bd808 updated subscribers of T362313: Archive Phabricator project tags for disabled tools.

This is basically a missing integration with the system that @Andrew built for T170355: Figure out process for deleting an unused tool (wikitech docs). There is also nothing currently deleting or otherwise marking GitLab projects and their associated Diffusion mirrors as abandoned or archived when the tool that created them is deleted.

Apr 18 2024, 4:50 PM · Striker
bd808 added a comment to T362889: Tool created following initial name validation failure is missing toolinfo record and having other problems with GitLab repositories.

The tool in question is https://toolsadmin.wikimedia.org/tools/id/api-docs. Things are definitely goofy here with there being no toolinfo record. There are several related log events in logstash, and they seem to start with this error that seems to echo the name validation failure.

Traceback (most recent call last):
  File "/srv/app/striker/tools/views/tool.py", line 83, in create
    tool = utils.create_tool(form.cleaned_data["name"], req.user)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/app/striker/tools/utils.py", line 86, in create_tool
    sudoers.save()
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/django/db/models/base.py", line 743, in save
    self.save_base(using=using, force_insert=force_insert,
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/django/db/models/base.py", line 780, in save_base
    updated = self._save_table(
              ^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldapdb/models/base.py", line 120, in _save_table
    connection.add_s(new_dn, new_values)
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldapdb/backends/ldap/base.py", line 317, in add_s
    return cursor.connection.add_s(dn, modlist)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 236, in add_s
    return self.add_ext_s(dn,modlist,None,None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 1012, in add_ext_s
    return self._apply_method_s(SimpleLDAPObject.add_ext_s,*args,**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 972, in _apply_method_s
    return func(self,*args,**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 222, in add_ext_s
    resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 543, in result3
    resp_type, resp_data, resp_msgid, decoded_resp_ctrls, retoid, retval = self.result4(
                                                                           ^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 553, in result4
    ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/lib/poetry/striker-2uZo5AhP-py3.11/lib/python3.11/site-packages/ldap/ldapobject.py", line 128, in _ldap_call
    result = func(*args,**kwargs)
             ^^^^^^^^^^^^^^^^^^^^
ldap.ALREADY_EXISTS: {'msgtype': 105, 'msgid': 17, 'result': 68, 'desc': 'Already exists', 'ctrls': []}
Apr 18 2024, 4:42 PM · Striker
bd808 updated the task description for T205856: Retire udp2log: onboard its producers and consumers to the logging pipeline.
Apr 18 2024, 4:04 PM · Data-Engineering-Icebox, Observability-Logging, observability, Analytics-Radar, Wikimedia-Logstash, SRE
bd808 closed T362899: Wikimedia Cloud Services Wiki Replicas replication lag in wikidata as Declined.

Current lag is very likely caused by T352010: Gradually drop old pagelinks columns as shown on https://wikitech.wikimedia.org/wiki/Map_of_database_maintenance which is linked to by https://replag.toolforge.org/ prominently.

Apr 18 2024, 3:23 PM · Data-Services

Apr 17 2024

bd808 created T362836: Provide a simple list of the built container images for a given tool (`toolforge build list` subset).
Apr 17 2024, 11:14 PM · Toolforge
bd808 added a comment to T362834: [builds-builder] Add support for specifying multiple buildpacks to run against a repo.

As explained briefly in the irc snippet, I have a use case where Tool-bridgebot uses a 3rd party golang component (matterbridge) which expects to read configuration from a static file. I want to move this tool from a legacy hand built deployment to a modern stack of a toolforge jobs managed deployment using a toolforge build generated image. To do so I need to replace the current chmod 0600 config file in the tool's $HOME with configuration that uses toolforge envvars for transmitting secrets into the running container.

Apr 17 2024, 10:44 PM · Toolforge
bd808 created T362834: [builds-builder] Add support for specifying multiple buildpacks to run against a repo.
Apr 17 2024, 10:43 PM · Toolforge
bd808 added a comment to T360488: Missing Perl packages on dev.toolforge.org for anomiebot workflows.

Dropping this into the "needs discussion" column for cloud-services-team as a blocker to decommissioning the remaining Buster bastions.

I see that, despite this, the main bastion at login.toolforge.org has been "updated" today and my scripts are now broken. 🙁

Apr 17 2024, 10:12 PM · cloud-services-team, Toolforge (Software install/update)
bd808 closed T169695: Run non-interactive commands on Toolforge kubernetes webservices as Resolved.

https://wikitech.wikimedia.org/wiki/Help:Toolforge/Jobs_framework does this work now.

Apr 17 2024, 10:08 PM · User-bd808, Toolforge

Apr 16 2024

bd808 added a comment to T360353: Hashar does not like grey foreground color for distinguishing closed status events .

I'm not the biggest fan of the strike though as it makes the text harder to read (probably worse than the grey, but that might be a personal preference, at least with formatting in the lounge).

Apr 16 2024, 4:09 PM · User-bd808, Wikibugs

Apr 15 2024

bd808 added a comment to T361018: Requesting GitLab account activation for safan41.

I was doing some other cleanup of pending GitLab accounts and I think I rejected the https://gitlab.wikimedia.org/safan41 account. Logging in to GitLab again will restore the account to pending status.

Apr 15 2024, 11:44 PM · GitLab (Account Approval), Release-Engineering-Team
bd808 added a comment to T353857: Correct and then approve https://gitlab.wikimedia.org/sethabathaba.

I was doing some other cleanup of pending GitLab accounts and I think I may have rejected the https://gitlab.wikimedia.org/sethabathaba account. Attempting to login again will restore the account to pending status.

Apr 15 2024, 11:41 PM · GitLab (Account Approval)
bd808 closed T360353: Hashar does not like grey foreground color for distinguishing closed status events as Resolved.
Apr 15 2024, 9:13 PM · User-bd808, Wikibugs
bd808 added a comment to T360353: Hashar does not like grey foreground color for distinguishing closed status events .

Rendering of T1152#9715566 via https://web.libera.chat/. Note that this client does not render the strikethrough style, but it also does not show any strange formatting characters:

Screenshot 2024-04-15 at 15.01.40.png (158×1 px, 51 KB)

Apr 15 2024, 9:05 PM · User-bd808, Wikibugs
bd808 added a comment to T1152: wikibugs test bug.

another closed task comment

Apr 15 2024, 9:01 PM · Wikibugs
bd808 added a comment to T360353: Hashar does not like grey foreground color for distinguishing closed status events .

Rendering of T1152#9715558 in my Textual client with some additional styling triggered by my irc nick being part of the the message:

Screenshot 2024-04-15 at 14.56.58.png (70×1 px, 64 KB)

Apr 15 2024, 9:00 PM · User-bd808, Wikibugs
bd808 updated subscribers of T1152: wikibugs test bug.

test comment on closed task

Apr 15 2024, 8:56 PM · Wikibugs
bd808 changed the status of T360353: Hashar does not like grey foreground color for distinguishing closed status events from Open to In Progress.

I'm going to switch the formatting from grey foreground to strikethrough text style. The strikethrough will only be visible to some IRC clients, but is expected to be more intuitive as it matches the Phabricator styling for closed tasks. HexChat, IRCCloud, The Lounge, & Textual are explicitly listed at https://defs.ircdocs.horse/info/formatting as supporting the strikethrough style.

Apr 15 2024, 8:45 PM · User-bd808, Wikibugs
bd808 added a comment to T140448: Make OAuth session persistent in Phabricator.
Apr 15 2024, 8:07 PM · Phabricator (2024-05-28), Wikimedia-Phabricator-Extensions
bd808 renamed T361943: Decide on a Software Bill of Materials (SBOM) format for MediaWiki from Decide on a SBOM format for MediaWiki to Decide on a Software Bill of Materials (SBOM) format for MediaWiki.
Apr 15 2024, 4:51 PM · SecTeam-Processed, Security-Team, Security
bd808 renamed T359634: Adopt Software Bill of Materials (SBOM) for MediaWiki from Adopt SBOMs for MediaWiki to Adopt Software Bill of Materials (SBOM) for MediaWiki.
Apr 15 2024, 4:50 PM · SecTeam-Processed, Security-Team, Security
bd808 added a comment to T361435: Find a modern hostname for tools-static.wmflabs.org.

I've secretly been hoping that the current iteration of tools-static would go away at some point in favour of some object storage based service.

Apr 15 2024, 3:57 PM · cloud-services-team, Toolforge
bd808 updated the task description for T358496: [toolforge,storage] Provide per-tool access to cloud-vps object storage.
Apr 15 2024, 3:52 PM · cloud-services-team, Toolforge
bd808 updated subscribers of T305487: Bridgebot freaks out and sends double messages from IRC to Telegram.

I really need to work on this again. The bot breaks a lot and @LucasWerkmeister is amazing for noticing and restarting it. This really just needs me to take a little time to understand the golang build chain used in the upstream project so I can easily iterate on a fix like the one @Platonides proposed years ago in T305487#7915998.

Apr 15 2024, 3:35 PM · User-bd808, Upstream, Tool-bridgebot
bd808 closed T296046: Allow build time control of effective UID/GID for runtime in Blubber generated Dockerfile as Resolved.

The open and assigned task nag script has complained that I haven't closed this task, so whatever it is closed now. Maybe someday I'll write up the reasons I added this feature to blubber. :shrug:

Apr 15 2024, 3:05 PM · User-dduvall, User-bd808, Toolhub, Release Pipeline (Blubber)
bd808 closed T296046: Allow build time control of effective UID/GID for runtime in Blubber generated Dockerfile, a subtask of T295823: Failures updating python packages in dev environment following Linux Docker improvements, as Resolved.
Apr 15 2024, 3:05 PM · User-bd808, Toolhub
bd808 added a comment to T288381: Connect WikiBugs IRC bot to Wikimedia GitLab.

Getting comment, pipeline, and job events out of GitLab would be a nice addition to the data that is currently collected by gitlab-webhooks using the system hooks integration. Unfortunately these are not as easy for us to manage centrally as they must be configured at the project level in GitLab CE. Group level integration for these events is only possible with a paid subscription.

Apr 15 2024, 3:33 AM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 added a comment to T362500: Report GitLab merge request events to IRC.

Quick mockup using jq of data likely to be used in building messages:

$ grep '"object_kind": "merge_request"' events.log | grep "bd808" | jq '{"action": .object_attributes.action, "user": .user.username, "message": .object_attributes.title, "repo": .object_attributes.target.path_with_namespace, "branch": .object_attributes.target_branch, "url": .object_attributes.url, "owner": .object_attributes.author_id, "state": .object_attributes.state }'
{
  "action": "open",
  "user": "bd808",
  "message": "Relicense under GPL-3.0-or-later",
  "repo": "toolforge-repos/wikibugs2",
  "branch": "main",
  "url": "https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/merge_request
s/22",
  "owner": 14,
  "state": "opened"
}
{
  "action": "approved",
  "user": "bd808",
  "message": "Relicense under GPL-3.0-or-later",
  "repo": "toolforge-repos/wikibugs2",
  "branch": "main",
  "url": "https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/merge_requests/22",
  "owner": 14,
  "state": "opened"
}
{
  "action": "merge",
  "user": "bd808",
  "message": "Relicense under GPL-3.0-or-later",
  "repo": "toolforge-repos/wikibugs2",
  "branch": "main",
  "url": "https://gitlab.wikimedia.org/toolforge-repos/wikibugs2/-/merge_requests/22",
  "owner": 14,
  "state": "merged"
}
Apr 15 2024, 3:15 AM · Wikimedia-Hackathon-2024, User-bd808, Wikibugs
bd808 changed the subtype of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab from "Feature Request" to "Goal".
Apr 15 2024, 2:20 AM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 created T362500: Report GitLab merge request events to IRC.
Apr 15 2024, 2:19 AM · Wikimedia-Hackathon-2024, User-bd808, Wikibugs

Apr 12 2024

bd808 added a comment to P4469 IBrokeWikipediaList.

The 2014-04-08 scap triggered outage that "earned" me the shirt (and my Chaos Monkey badge):

my-crash.png (500×1 px, 27 KB)

Apr 12 2024, 11:02 PM
bd808 added a comment to P4469 IBrokeWikipediaList.

In 2016 I started making a sticker version because 1) easier to carry places, 2) no worries about not having the correct size, 3) cheaper.

I broke wikipedia sticker.png (196×196 px, 169 KB)

Apr 12 2024, 10:43 PM
bd808 added a comment to P4469 IBrokeWikipediaList.

So bd808 made one: http://oi61.tinypic.com/2ryj5kz.jpg

tinypic.com has been lost to the sands of time. That photo was:

i-broke-wikipedia.jpg (287×300 px, 20 KB)

Apr 12 2024, 10:41 PM
bd808 added a comment to P4469 IBrokeWikipediaList.

The photo of the just arrived shirts that I posted to twitter on 2014-09-15:

original-ibrokewikipedia-shirts.jpg (450×600 px, 48 KB)

Apr 12 2024, 10:31 PM
bd808 added a comment to T90594: Wikibugs testing task.

test

Apr 12 2024, 9:35 PM · Patch-For-Review, User-bd808, Wikibugs
bd808 moved T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data from In Dev/Progress to Needs Review/Feedback on the User-bd808 board.
Apr 12 2024, 8:37 PM · User-bd808, GitLab (Integrations)

Apr 11 2024

bd808 added a comment to T361519: [infra,builds-builder] "failed to create fsnotify watcher: too many open files".

3rd retry (4th call overall) worked.

Apr 11 2024, 6:09 PM · Toolforge (Toolforge iteration 08)
bd808 added a comment to T361519: [infra,builds-builder] "failed to create fsnotify watcher: too many open files".
tools.wikibugs-testing@tools-bastion-12:~$ toolforge build start --ref work/bd808/expect-phorge-api-errors https://gitlab.wikimedia.org/toolforge-repos/wikibugs2
Waiting for the logs... if the build just started this might take a minute
[place-tools] 2024-04-11T17:49:59.348045941Z 2024/04/11 17:49:59 Copied /ko-app/entrypoint to /tekton/bin/entrypoint
[place-tools] failed to create fsnotify watcher: too many open files
[step-init] 2024-04-11T17:49:59.913177243Z 2024/04/11 17:49:59 Setup /step directories
[step-init] failed to create fsnotify watcher: too many open files
[place-scripts] 2024-04-11T17:50:01.125871795Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-0-vmtp5
[place-scripts] 2024-04-11T17:50:01.150840971Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-2-wldbl
[place-scripts] 2024-04-11T17:50:01.187348966Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-3-l5vh7
[place-scripts] 2024-04-11T17:50:01.214228628Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-9-s6s4t
[place-scripts] 2024-04-11T17:50:01.237079271Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-10-6th52
[place-scripts] 2024-04-11T17:50:01.270148540Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-11-zcrvx
[place-scripts] 2024-04-11T17:50:01.304439329Z 2024/04/11 17:50:01 Decoded script /tekton/scripts/script-12-4gvkt
[place-scripts] failed to create fsnotify watcher: too many open files
[step-clone] failed to create fsnotify watcher: too many open files
[step-copy-builder-to-tmp] 2024-04-11T17:50:02.407982038Z 2024/04/11 17:50:02 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-copy-builder-to-tmp] failed to create fsnotify watcher: too many open files
[step-prepare] failed to create fsnotify watcher: too many open files
[step-inject-buildpacks] failed to create fsnotify watcher: too many open files
[step-copy-stack-toml] 2024-04-11T17:50:03.342859273Z 2024/04/11 17:50:03 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-copy-stack-toml] failed to create fsnotify watcher: too many open files
[step-detect] failed to create fsnotify watcher: too many open files
[step-analyze] 2024-04-11T17:50:04.254967516Z 2024/04/11 17:50:04 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-analyze] failed to create fsnotify watcher: too many open files
[step-restore] 2024-04-11T17:50:04.688674016Z 2024/04/11 17:50:04 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-restore] failed to create fsnotify watcher: too many open files
[step-build] failed to create fsnotify watcher: too many open files
[step-fix-nested-procfile-launcher] failed to create fsnotify watcher: too many open files
[step-fix-permissions] failed to create fsnotify watcher: too many open files
[step-export] 2024-04-11T17:50:06.064284001Z 2024/04/11 17:50:06 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-export] failed to create fsnotify watcher: too many open files
[step-results] failed to create fsnotify watcher: too many open files

3rd retry (4th call overall) worked.

Apr 11 2024, 5:57 PM · Toolforge (Toolforge iteration 08)
bd808 added a comment to T361277: gitlab: enforce 2fa for admins.

I thought that was part of {T316419}, but apparently I was mistaken. +1 from me.

Apr 11 2024, 5:47 PM · Patch-For-Review, GitLab (Administration, Settings & Policy), User-brennen, Release-Engineering-Team, collaboration-services

Apr 10 2024

bd808 changed the status of T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data from Open to In Progress.
Apr 10 2024, 9:56 PM · User-bd808, GitLab (Integrations)
bd808 changed the status of T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data, a subtask of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab, from Open to In Progress.
Apr 10 2024, 9:55 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 created T362288: [gitlab-webhooks] Provide a server-sent events API for rebroadcast of GitLab webhook data.
Apr 10 2024, 9:55 PM · User-bd808, GitLab (Integrations)
bd808 added a comment to T360795: Set up a bitu instance for codfw1dev.

What is the intended use case here? We already have a staging instance for Bitu

Apr 10 2024, 5:47 PM · cloud-services-team, Epic, wikitech.wikimedia.org
bd808 awarded T362258: GitLab archival by Software Heritage a Love token.
Apr 10 2024, 4:35 PM · Release-Engineering-Team (Radar), collaboration-services, GitLab
bd808 merged T362230: Skip black color for wikibugs task updates into T360353: Hashar does not like grey foreground color for distinguishing closed status events .
Apr 10 2024, 3:17 PM · User-bd808, Wikibugs
bd808 merged task T362230: Skip black color for wikibugs task updates into T360353: Hashar does not like grey foreground color for distinguishing closed status events .
Apr 10 2024, 3:17 PM · Wikibugs
bd808 added a comment to T362237: Make it easier to apply Striker schema changes in production.

I have a hacky script for this kind of stuff at cloudweb1003:/home/bd808/projects/striker/debug-striker.sh. It was inspired by the hacky script I had to make to manage Toolhub.

debug-striker.sh
#!/usr/bin/env bash
# Run the Striker container locally.
# Typical usage:
#   ./debug-striker.sh -it --entrypoint=/bin/bash
set -euxo pipefail
Apr 10 2024, 3:07 PM · Striker

Apr 9 2024

bd808 added a comment to T362205: Symbol "not greater than" rendered incorrectly.

You seem to be reporting that your computer does not have a font installed that supports the unicode glyph (code point 226F).
I'm not quite sure how this problem can be solved in a general sense. We have historically avoided shipping web fonts and instead expect users to have local fonts installed to support unicode content.

Apr 9 2024, 11:36 PM
bd808 changed the status of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab from Open to In Progress.

I talked with @dancy on irc and have decided to try this variant:

Apr 9 2024, 11:13 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 changed the status of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab, a subtask of T319359: GitLab integrations: the Gerrit & Jenkins integration catalog, from Open to In Progress.
Apr 9 2024, 11:12 PM · Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations)
bd808 added a project to T350592: EPIC: migrate in use metrics and dashboards to statslib: Epic.
Apr 9 2024, 10:29 PM · Epic, SRE Observability (FY2023/2024-Q4), MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-Platform-Team (Radar), Observability-Metrics
hashar awarded T362012: [webservice] Allow configuration of Promethus scraping of a specific webservice endpoint for publication in grafana.wmcloud.org a Meh! token.
Apr 9 2024, 7:54 PM · Toolforge
bd808 added a comment to T90594: Wikibugs testing task.

test

Apr 9 2024, 3:23 AM · Patch-For-Review, User-bd808, Wikibugs
bd808 closed T361518: Replace Redis queue with custom http solution, a subtask of T360596: Figure out a plan to move forward with regarding Redis License changes, as Resolved.
Apr 9 2024, 3:12 AM · GitLab (Infrastructure), Patch-For-Review, User-aborrero, serviceops, MediaWiki-Platform-Team (Radar), collaboration-services, Release-Engineering-Team (Radar), Quarry, Toolforge, Software-Licensing, Infrastructure-Foundations, netbox, Platform Team Initiatives (API Gateway), ChangeProp, MediaWiki-File-management, SRE
bd808 closed T361518: Replace Redis queue with custom http solution as Resolved.
Apr 9 2024, 3:12 AM · User-bd808, Wikibugs

Apr 8 2024

bd808 added a comment to T335592: [jobs-api,jobs-cli] Support job health checks.

@bd808 the script will be executed inside the pod. you can either provide an inline script (--health-check-script "echo this-is-a-script") or create a script file and do --health-check-script ./script.sh (goes without saying but you need to make the script executable). In both cases the running script can view the state of things inside the pod (processes, envvars, etc).

Apr 8 2024, 10:54 PM · Toolforge (Toolforge iteration 08), Patch-For-Review
Dzahn awarded T359753: Rethink anti-flooding protections a 100 token.
Apr 8 2024, 10:11 PM · User-bd808, Wikibugs
bd808 added a comment to T90594: Wikibugs testing task.

test

Apr 8 2024, 4:22 PM · Patch-For-Review, User-bd808, Wikibugs
bd808 added a comment to T311905: Upgrade Toolforge (Elastic|Open)Search cluster to Debian Bullseye.

Also cc-ing @bd808 in case you have a tool that could be used as a canary here.

Apr 8 2024, 3:21 PM · cloud-services-team, Toolforge
bd808 awarded T362062: [Session] Toolforge & Cloud VPS demos a Like token.
Apr 8 2024, 3:07 PM · Wikimedia-Hackathon-2024
bd808 updated the task description for T362012: [webservice] Allow configuration of Promethus scraping of a specific webservice endpoint for publication in grafana.wmcloud.org.
Apr 8 2024, 2:59 PM · Toolforge
bd808 closed T362023: Requesting GitLab account activation for Maxwan as Resolved.

https://gitlab.wikimedia.org/maxwan

Apr 8 2024, 1:00 AM · User-bd808, GitLab (Account Approval), Release-Engineering-Team
bd808 updated the task description for T362023: Requesting GitLab account activation for Maxwan.
Apr 8 2024, 1:00 AM · User-bd808, GitLab (Account Approval), Release-Engineering-Team
bd808 closed T361905: Requesting GitLab account activation for theprotonade as Resolved.

https://gitlab.wikimedia.org/theprotonade

Apr 8 2024, 12:57 AM · GitLab (Account Approval), Release-Engineering-Team

Apr 6 2024

bd808 added a subtask for T53434: Establish an internal system or a recommended external system for monitoring user-created Toolforge web services: T362012: [webservice] Allow configuration of Promethus scraping of a specific webservice endpoint for publication in grafana.wmcloud.org.
Apr 6 2024, 9:10 PM · cloud-services-team, User-Matthewrbowker, community-labs-monitoring, Toolforge
bd808 added a parent task for T362012: [webservice] Allow configuration of Promethus scraping of a specific webservice endpoint for publication in grafana.wmcloud.org: T53434: Establish an internal system or a recommended external system for monitoring user-created Toolforge web services.
Apr 6 2024, 9:09 PM · Toolforge
bd808 created T362012: [webservice] Allow configuration of Promethus scraping of a specific webservice endpoint for publication in grafana.wmcloud.org.
Apr 6 2024, 9:09 PM · Toolforge
bd808 closed T651: wikibugs should handle non-task event types as Declined.

We've gotten by for ~10 years now without irc notifs for pastes, etc and it looks like basically no one has missed that functionality. Declining without prejudice on that basis. If someone can present a reasonable use case and output format for notifs for things other than tasks then we should look into that.

Apr 6 2024, 8:28 PM · Wikibugs
bd808 merged T75900: Create function to temporarily mute reports into T231733: Exclude bulk actions changes from IRC logging.
Apr 6 2024, 8:23 PM · Wikibugs
bd808 merged task T75900: Create function to temporarily mute reports into T231733: Exclude bulk actions changes from IRC logging.
Apr 6 2024, 8:23 PM · Wikibugs
bd808 closed T359009: Store PhorgeFeedReader.poll_last_seen_chrono_key in Redis as Declined.

With Gerrit events and the likely implementation of GitLab events both being unable to time travel it doesn't seem important to add this support to the Phorge client at this time.

Apr 6 2024, 8:18 PM · Wikibugs
bd808 closed T359753: Rethink anti-flooding protections as Resolved.

The bot has been running for a couple of weeks with only the default flood protections from irc3.IrcBot + ZNC mentioned in T359753#9618035. There have not been any issues in this time which I think reasonably shows that this is working. If we need to tune ZNC or irc3.IrcBot in the future as more message sources and sinks are added we can do so as desired.

Apr 6 2024, 8:16 PM · User-bd808, Wikibugs
bd808 changed the subtype of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab from "Task" to "Feature Request".
Apr 6 2024, 8:06 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 moved T288381: Connect WikiBugs IRC bot to Wikimedia GitLab from Backlog to Need discussion on the Wikibugs board.
Apr 6 2024, 8:05 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs
bd808 updated subscribers of T288381: Connect WikiBugs IRC bot to Wikimedia GitLab.

This could now presumably be built on top of https://wikitech.wikimedia.org/wiki/GitLab/Phabricator_integration (either using Redis as intermediary between the two repos, or by moving Wikibugs under the gitlab-webhooks repo).

Apr 6 2024, 7:41 PM · User-bd808, Release-Engineering-Team (Priority Backlog 📥), GitLab (Integrations), Wikibugs

Apr 5 2024

bd808 added a comment to T90594: Wikibugs testing task.

test

Apr 5 2024, 11:51 PM · Patch-For-Review, User-bd808, Wikibugs
bd808 added a subtask for T360596: Figure out a plan to move forward with regarding Redis License changes: T361518: Replace Redis queue with custom http solution.
Apr 5 2024, 11:48 PM · GitLab (Infrastructure), Patch-For-Review, User-aborrero, serviceops, MediaWiki-Platform-Team (Radar), collaboration-services, Release-Engineering-Team (Radar), Quarry, Toolforge, Software-Licensing, Infrastructure-Foundations, netbox, Platform Team Initiatives (API Gateway), ChangeProp, MediaWiki-File-management, SRE