Page MenuHomePhabricator

Check on tool deletion status from 2021-12-23 batch
Closed, ResolvedPublic

Description

On 2021-12-23 @bd808 used mark_tool to flag 86 tool accounts for deletion. The tool deletion automation is relatively new, so we should circle back to verify that it has actually worked (or to file bugs for failures).

Event Timeline

bd808 renamed this task from Check on tool deletion status from 2021-12-23 to Check on tool deletion status from 2021-12-23 batch.Dec 23 2021, 11:16 PM
bd808 updated the task description. (Show Details)

List of tools:

rcm
morebots
contributions-summary
hujibot
ut-iw-bot
datbotcommons
yunomi
wlm-jury-at
wlm-jury-yarl
recoin-sample
www-portal-builder
kmlexport-cswiki
sau226-wiki-bug-testing
miraheze-discord-irc
harvesting-data-rafinery
messenger-chatbot
mh-signbot
miraheze-notifico
addshore
addshore-dev
addbot
quentinv57-tools
prometheus
wmde-inline-movedparagraphs
wmde-editconflict-test
wmde-uca-test
commons-mass-upload
phragile
gdk-artists-research
languagetool
strikertest2017-08-23
corenlp
creatorlinks
platypus-qa
ppp-sparql
projetpp
tei2wikitext
bd808-test3
bd808-test4
wikipagestats
gsociftttdev
grafana-json-datasource
sync-badges
outofband
he-wiktionary-rule-checker
design-research-methods
basyounybot
asdf
rhinosf1-afdclose
maplink-generator
draft-uncategorize-script
wikibase-databridge-storybook
squirrelnest-upf
mtc-rest
fastilybot
wmde-uca-test
oar
wikidata-exports
base-encode
wdqs-wmil-tutorial
google-drive-photos-to-commons
rubinbot
rubinbot2
rubinbot3
dawiki
outreacy-wikicv
hastagwatcher
move
sourceror
filesearch
zoranzoki21bot
zoranzoki21wiki
testwiki
vagrant2
vagrant-test
ircclient
algo-news
chi
abusereport
coi
wmf-task-samtar
geolink
ytrb
antigng
wplist
stang
bd808 moved this task from To Do to In Dev/Progress on the User-bd808 board.

I expect this to take a while, but I can see that some archives have already been created:

labstore1004:/srv/tools/archivedtools
bd808$ find . -type f -newermt "2021-12-23 00:00" -exec ls --color -ltah {} +
-rw-r--r-- 1 root root 5.4K Dec 23 19:46 ./datbotcommons.tgz
-rw-r--r-- 1 root root 191K Dec 23 19:46 ./yunomi.tgz
-rw-r--r-- 1 root root 5.5K Dec 23 19:46 ./ut-iw-bot.tgz
-rw-r--r-- 1 root root 5.1K Dec 23 19:42 ./hujibot.tgz
-rw-r--r-- 1 root root  40K Dec 23 19:40 ./morebots.tgz
-rw-r--r-- 1 root root  96K Dec 23 19:40 ./contributions-summary.tgz
-rw-r--r-- 1 root root 5.6K Dec 23 19:34 ./rcm.tgz

It is a bit suspicious that nothing new has been archived since 19:46 (now 23:31).

Only one still in the directory!

$ for t in $(cat tools-marked-for-delete-20211223.txt); do ldap cn=tools.$t cn|grep dn:; done
dn: cn=tools.tei2wikitext,ou=servicegroups,dc=wikimedia,dc=org
dn: uid=tools.tei2wikitext,ou=people,ou=servicegroups,dc=wikimedia,dc=org

The tei2wikitext tool deletion was stalled because the tombstone files for its grid and k8s cleanup were missing. These steps had either completed but errored writing the tombstone or errored because of other cleanups that had been manually done. In either case, once I manually deleted the $HOME which only contained {crontab,db}.disabled tombstone files, the final cleanup step fired and removed the tool's LDAP record.