Page MenuHomePhabricator

https://gitlab.wikimedia.org/deni not being approved by bot
Closed, ResolvedPublicBUG REPORT

Description

[22:54]  <    wm-bb> <Danny> bd808, while I have you. I am not sure if you noticed, but I am seeing the message described in T353752. It seems that the job did not approve my account despite being in the groups mentioned in the documentation. Do you know why this could be?
[22:54]  <    bd808> Let me check on the bot to see if it is alive...
[22:55]  <    wm-bb> <Danny> It would certainly explain it if the bot is not running :p
[22:55]  <    bd808> looks like the last run was 2024-01-31T22:54:00Z
[22:56]  <    wm-bb> <Danny> Hmmm. Let me just see the public log.
[22:57]  <    wm-bb> <Danny> Nope, do you see a more detailed log on your side? My username is "deni".
[22:58]  <    bd808> Let me run the bot in verbose mode. It does look like you should be approved as a Toolforge member
[22:59]  <    wm-bb> <Danny> Sounds like that might tell. Thank you.
[23:03]  <    bd808> still looking. the bot may not be starting and also may not be sending me an email telling me that it didn't start...
[23:04]  <    wm-bb> <Danny> 👍
[23:06]  <   wm-bot> !log bd808@tools-sgebastion-11 tools.gitlab-account-approval Rebuilding image to see if that fixes the startup failures which appear to be related to the "launcher" append job service change
[23:06]  < stashbot> Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.gitlab-account-approval/SAL
[23:11]  <    bd808> ok. the bot is confirmed running now, but it does not see a pending "deni" account to approve.
[23:11] bd808 goes to look at gitlab admin screens
[23:14]  <    bd808> @Danny: I can see your account pending approval in the gitlab admin area, but the bot is not seeing you. I would like to try and debug the bot if you can live without access for a bit longer.
[23:15]  <    wm-bb> <Danny> Okay. Considering my needs at the moment I can accept that.
[23:15]  <    wm-bb> <Danny> That being not having access to a bit longer to allow you to hopefully identify the root cause here.
[23:16]  <    bd808> legoktm reported T356097 a couple of days ago which may be related.
[23:16]  < stashbot> T356097: gitlab-account-approval bot stalled on 2024-01-09 - https://phabricator.wikimedia.org/T356097
[23:16] bd808 has been away and no caught up on his bug mail yet
[23:18]  <    wm-bb> <Danny> Seems related to the script not running.
[23:18]  <    wm-bb> <Danny> But if you can get it to run and it does not see me, that might be a separate issue.
[23:19]  <    wm-bb> <Danny> Or maybe my username just broke the script :p

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
gitlab: include users with projects in searchtoolforge-repos/gitlab-account-approval!10bd808work/bd808/T356350main
Customize query in GitLab

Event Timeline

bd808 changed the task status from Open to In Progress.Jan 31 2024, 11:59 PM
bd808 claimed this task.
bd808 triaged this task as High priority.

Grepping verbose run logs doesn't show deni being checked at all. My hunch is that I got the filtering wrong in the call to the "users" API endpoint.

"without_projects": "true" is the problem. This new user is already in the "toolforge-repos / syncbot" project via Striker repo creation. Should be a trivial fix...

Mentioned in SAL (#wikimedia-cloud) [2024-02-01T00:14:52Z] <wmbot~bd808@tools-sgebastion-11> Rebuilding image to pick up T356350 fix

tools.gitlab-account-approval@tools-sgebastion-11:~$ toolforge jobs logs approve
 -f
2024-02-01T00:15:09+00:00 [approve-28445775-j2fxl] Searching for pending accounts...
2024-02-01T00:15:10+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:10Z glaab.utils INFO: Checking jjk
2024-02-01T00:15:11+00:00 [approve-28445775-j2fxl] jjk: Untrusted
2024-02-01T00:15:11+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:11Z glaab.utils INFO: Checking piyushmishra1416
2024-02-01T00:15:11+00:00 [approve-28445775-j2fxl] piyushmishra1416: Untrusted
2024-02-01T00:15:11+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:11Z glaab.utils INFO: Checking saroj
2024-02-01T00:15:11+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:11Z glaab.utils INFO: saroj is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:13+00:00 [approve-28445775-j2fxl] saroj: Trusted
2024-02-01T00:15:13+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:13Z glaab.utils INFO: Checking arinaigum
2024-02-01T00:15:13+00:00 [approve-28445775-j2fxl] arinaigum: Untrusted
2024-02-01T00:15:13+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:13Z glaab.utils INFO: Checking cyber
2024-02-01T00:15:13+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:13Z glaab.utils INFO: cyber is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:15+00:00 [approve-28445775-j2fxl] cyber: Trusted
2024-02-01T00:15:15+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:15Z glaab.utils INFO: Checking agnesabah
2024-02-01T00:15:15+00:00 [approve-28445775-j2fxl] agnesabah: Untrusted
2024-02-01T00:15:15+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:15Z glaab.utils INFO: Checking vettel5
2024-02-01T00:15:16+00:00 [approve-28445775-j2fxl] vettel5: Untrusted
2024-02-01T00:15:16+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:16Z glaab.utils INFO: Checking deni
2024-02-01T00:15:16+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:16Z glaab.utils INFO: deni is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:17+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:17Z glaab.utils INFO: Checking vyassgiri
2024-02-01T00:15:17+00:00 [approve-28445775-j2fxl] deni: Trusted
2024-02-01T00:15:18+00:00 [approve-28445775-j2fxl] vyassgiri: Untrusted
2024-02-01T00:15:18+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:18Z glaab.utils INFO: Checking harshita91
2024-02-01T00:15:18+00:00 [approve-28445775-j2fxl] harshita91: Untrusted
2024-02-01T00:15:18+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:18Z glaab.utils INFO: Checking amasotti
2024-02-01T00:15:18+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:18Z glaab.utils INFO: amasotti is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:20+00:00 [approve-28445775-j2fxl] amasotti: Trusted
2024-02-01T00:15:20+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:20Z glaab.utils INFO: Checking paper9oll
2024-02-01T00:15:20+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:20Z glaab.utils INFO: Checking kabirsingh
2024-02-01T00:15:20+00:00 [approve-28445775-j2fxl] paper9oll: Untrusted
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] kabirsingh: Untrusted
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:21Z glaab.utils INFO: Checking wolfinux
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] wolfinux: Untrusted
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:21Z glaab.utils INFO: Checking monx94
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] monx94: Untrusted
2024-02-01T00:15:21+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:21Z glaab.utils INFO: Checking ayazsheikh
2024-02-01T00:15:22+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:22Z glaab.utils INFO: Checking sause
2024-02-01T00:15:22+00:00 [approve-28445775-j2fxl] ayazsheikh: Untrusted
2024-02-01T00:15:22+00:00 [approve-28445775-j2fxl] sause: Untrusted
2024-02-01T00:15:22+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:22Z glaab.utils INFO: Checking paras-245
2024-02-01T00:15:23+00:00 [approve-28445775-j2fxl] paras-245: Untrusted
2024-02-01T00:15:23+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:23Z glaab.utils INFO: Checking vigneshb
2024-02-01T00:15:23+00:00 [approve-28445775-j2fxl] vigneshb: Untrusted
2024-02-01T00:15:23+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:23Z glaab.utils INFO: Checking eli29
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:24Z glaab.utils INFO: Checking p0six
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] eli29: Untrusted
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] p0six: Untrusted
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:24Z glaab.utils INFO: Checking ashutoshkasaudhan
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] ashutoshkasaudhan: Untrusted
2024-02-01T00:15:24+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:24Z glaab.utils INFO: Checking shishir-11
2024-02-01T00:15:25+00:00 [approve-28445775-j2fxl] shishir-11: Untrusted
2024-02-01T00:15:25+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:25Z glaab.utils INFO: Checking mainowill
2024-02-01T00:15:25+00:00 [approve-28445775-j2fxl] mainowill: Untrusted
2024-02-01T00:15:25+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:25Z glaab.utils INFO: Checking ibrahemqasim
2024-02-01T00:15:25+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:25Z glaab.utils INFO: ibrahemqasim is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:26+00:00 [approve-28445775-j2fxl] ibrahemqasim: Trusted
2024-02-01T00:15:26+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:26Z glaab.utils INFO: Checking tgerbet
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:27Z glaab.utils INFO: Checking metin62
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] tgerbet: Untrusted
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] metin62: Untrusted
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:27Z glaab.utils INFO: Checking kalumon
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] kalumon: Untrusted
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:27Z glaab.utils INFO: Checking itsthemasterofhedgehogs
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] itsthemasterofhedgehogs: Untrusted
2024-02-01T00:15:27+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:27Z glaab.utils INFO: Checking sunnybr
2024-02-01T00:15:28+00:00 [approve-28445775-j2fxl] sunnybr: Untrusted
2024-02-01T00:15:28+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:28Z glaab.utils INFO: Checking ernstkm
2024-02-01T00:15:28+00:00 [approve-28445775-j2fxl] ernstkm: Untrusted
2024-02-01T00:15:28+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:28Z glaab.utils INFO: Checking gryffin
2024-02-01T00:15:29+00:00 [approve-28445775-j2fxl] gryffin: Untrusted
2024-02-01T00:15:29+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:29Z glaab.utils INFO: Checking fuq3678
2024-02-01T00:15:29+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:29Z glaab.utils INFO: Checking kedas
2024-02-01T00:15:29+00:00 [approve-28445775-j2fxl] fuq3678: Untrusted
2024-02-01T00:15:30+00:00 [approve-28445775-j2fxl] kedas: Untrusted
2024-02-01T00:15:30+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:30Z glaab.utils INFO: Checking vagobon08
2024-02-01T00:15:30+00:00 [approve-28445775-j2fxl] vagobon08: Untrusted
2024-02-01T00:15:30+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:30Z glaab.utils INFO: Checking marnanel
2024-02-01T00:15:30+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:30Z glaab.utils INFO: marnanel is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:31+00:00 [approve-28445775-j2fxl] marnanel: Trusted
2024-02-01T00:15:31+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:31Z glaab.utils INFO: Checking lnico1990
2024-02-01T00:15:32+00:00 [approve-28445775-j2fxl] lnico1990: Untrusted
2024-02-01T00:15:32+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:32Z glaab.utils INFO: Checking edhu
2024-02-01T00:15:32+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:32Z glaab.utils INFO: edhu is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:33+00:00 [approve-28445775-j2fxl] edhu: Trusted
2024-02-01T00:15:33+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:33Z glaab.utils INFO: Checking mariacurista
2024-02-01T00:15:34+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:34Z glaab.utils INFO: Checking petrasvilisergeygmailcom
2024-02-01T00:15:34+00:00 [approve-28445775-j2fxl] mariacurista: Untrusted
2024-02-01T00:15:34+00:00 [approve-28445775-j2fxl] petrasvilisergeygmailcom: Untrusted
2024-02-01T00:15:34+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:34Z glaab.utils INFO: Checking soheilade
2024-02-01T00:15:35+00:00 [approve-28445775-j2fxl] soheilade: Untrusted
2024-02-01T00:15:35+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:35Z glaab.utils INFO: Checking jas42
2024-02-01T00:15:35+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:35Z glaab.utils INFO: jas42 is a memberOf cn=project-tools,ou=groups,dc=wikimedia,dc=org
2024-02-01T00:15:36+00:00 [approve-28445775-j2fxl] jas42: Trusted
2024-02-01T00:15:36+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:36Z glaab.utils INFO: Checking yousse015
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] yousse015: Untrusted
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:37Z glaab.utils INFO: Checking safan41
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] safan41: Untrusted
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:37Z glaab.utils INFO: Checking teambro11
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:37Z glaab.utils INFO: Checking tiffatk3
2024-02-01T00:15:37+00:00 [approve-28445775-j2fxl] teambro11: Untrusted
2024-02-01T00:15:38+00:00 [approve-28445775-j2fxl] tiffatk3: Untrusted
2024-02-01T00:15:38+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:38Z glaab.utils INFO: Checking tld850
2024-02-01T00:15:38+00:00 [approve-28445775-j2fxl] tld850: Untrusted
2024-02-01T00:15:38+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:38Z glaab.utils INFO: Checking machadowisck
2024-02-01T00:15:39+00:00 [approve-28445775-j2fxl] machadowisck: Untrusted
2024-02-01T00:15:40+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:40Z glaab.utils INFO: Checking karl42
2024-02-01T00:15:40+00:00 [approve-28445775-j2fxl] karl42: Untrusted
2024-02-01T00:15:40+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:40Z glaab.utils INFO: Checking juest
2024-02-01T00:15:40+00:00 [approve-28445775-j2fxl] juest: Untrusted
2024-02-01T00:15:40+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:40Z glaab.utils INFO: Checking dsantini
2024-02-01T00:15:41+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:41Z glaab.utils INFO: Checking zakisk
2024-02-01T00:15:41+00:00 [approve-28445775-j2fxl] dsantini: Untrusted
2024-02-01T00:15:41+00:00 [approve-28445775-j2fxl] zakisk: Untrusted
2024-02-01T00:15:41+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:41Z glaab.utils INFO: Checking sphiera
2024-02-01T00:15:42+00:00 [approve-28445775-j2fxl] sphiera: Untrusted
2024-02-01T00:15:42+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:42Z glaab.utils INFO: Checking ogalihillary
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] ogalihillary: Untrusted
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:43Z glaab.utils INFO: Checking lebec7
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] lebec7: Untrusted
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:43Z glaab.utils INFO: Checking jackiechan
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] jackiechan: Untrusted
2024-02-01T00:15:43+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:43Z glaab.utils INFO: Checking oxford
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:44Z glaab.utils INFO: Checking gstarg
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] oxford: Untrusted
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:44Z glaab.utils INFO: Checking lorenzovergaz190
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] gstarg: Untrusted
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] lorenzovergaz190: Untrusted
2024-02-01T00:15:44+00:00 [approve-28445775-j2fxl] 2024-02-01T00:15:44Z glaab.utils INFO: Checking sethabathaba
2024-02-01T00:15:45+00:00 [approve-28445775-j2fxl] sethabathaba: Untrusted