GitHub sync script is failing
Pod log:
2023-05-16T11:42:37 [GitWrapper] DEBUG inviteUserToTeam(org = eclipse-mdt, teamName = eclipsefdn-security, uname = fredg02)
2023-05-16T11:42:38 [GitWrapper] VERBOSE Done inviting user to team: fredg02 -> eclipse-mdt/eclipsefdn-security
2023-05-16T11:42:38 [GitWrapper] DEBUG inviteUserToTeam(org = eclipse-mdt, teamName = eclipsefdn-security, uname = netomi)
2023-05-16T11:42:38 [GitWrapper] VERBOSE User with usernmae 'netomi' is already a member of eclipse-mdt/eclipsefdn-security
2023-05-16T11:42:38 [GitWrapper] DEBUG inviteUserToTeam(org = eclipse-mdt, teamName = eclipsefdn-security, uname = fperezel)
2023-05-16T11:42:38 [GitWrapper] VERBOSE User with usernmae 'fperezel' is already a member of eclipse-mdt/eclipsefdn-security
2023-05-16T11:42:38 [GitWrapper] DEBUG inviteUserToTeam(org = eclipse-mdt, teamName = eclipsefdn-security, uname = mrybczyn)
2023-05-16T11:42:39 [GitWrapper] VERBOSE Done inviting user to team: mrybczyn -> eclipse-mdt/eclipsefdn-security
2023-05-16T11:42:39 [main] INFO Attempting to add eclipsefdn-security team to .eclipse-foundation-private for org eclipse-mdt
2023-05-16T11:42:39 [GitWrapper] DEBUG addRepoToTeam(org = eclipse-mdt, teamName = eclipsefdn-security, repo = .eclipsefdn-private, permissions = push, overwrite = true)
2023-05-16T11:42:40 [GitWrapper] ERROR API encountered errors processing current request (team:addOrUpdateRepo). More information is available in log file
2023-05-16T11:42:40 [GitWrapper] ERROR HttpError: Not Found
2023-05-16T11:42:40 [main] INFO Generating static team 'eclipsefdn-security' for organization www.eclipse.org
2023-05-16T11:42:40 [main] DEBUG Sync:processOrg(org = www.eclipse.org, team = [object Object])
2023-05-16T11:42:40 [GitWrapper] DEBUG prefetchTeams(org = www.eclipse.org)
2023-05-16T11:42:40 [GitWrapper] INFO Starting prefetch for teams in org=www.eclipse.org
2023-05-16T11:42:40 [GitWrapper] ERROR API encountered errors processing current request (team:list). More information is available in log file
2023-05-16T11:42:40 [GitWrapper] ERROR HttpError: Not Found
2023-05-16T11:42:40 [GitWrapper] ERROR An error occured while prefetching teams for org 'www.eclipse.org', returning
2023-05-16T11:42:40 [GitWrapper] DEBUG prefetchRepos(org = www.eclipse.org)
2023-05-16T11:42:40 [GitWrapper] VERBOSE Starting prefetch for repos in org=www.eclipse.org
2023-05-16T11:42:40 [GitWrapper] ERROR API encountered errors processing current request (team:listMembers). More information is available in log file
2023-05-16T11:42:40 [GitWrapper] ERROR HttpError: Not Found
2023-05-16T11:42:40 [GitWrapper] ERROR An error occured while prefetching repos for org 'www.eclipse.org', returning
2023-05-16T11:42:40 [main] DEBUG Sync:updateTeam(org = www.eclipse.org, teamName = eclipsefdn-security, designatedMembers = [{"name":"mbarbero","url":"https://api.eclipse.org/account/profile/mbarbero","expiration":""},{"name":"fgurr","url":"https://api.eclipse.org/account/profile/fgurr","expiration":""},{"name":"netomi","url":"https://api.eclipse.org/account/profile/netomi","expiration":""},{"name":"fcojperez","url":"https://api.eclipse.org/account/profile/fcojperez","expiration":""},{"name":"mrybczyn","url":"https://api.eclipse.org/account/profile/mrybczyn","expiration":""}])
2023-05-16T11:42:40 [main] INFO Syncing team 'eclipsefdn-security' for organization www.eclipse.org
2023-05-16T11:42:40 [GitWrapper] DEBUG addTeam(org = www.eclipse.org, teamName = eclipsefdn-security)
2023-05-16T11:42:41 [GitWrapper] ERROR API encountered errors processing current request (team:create). More information is available in log file
2023-05-16T11:42:41 [GitWrapper] ERROR HttpError: Not Found
2023-05-16T11:42:41 [GitWrapper] DEBUG editTeam(org = www.eclipse.org, team = "eclipsefdn-security", options = {"privacy":"secret"})
2023-05-16T11:42:41 [GitWrapper] VERBOSE Updating team eclipsefdn-security settings: {"privacy":"secret"}
2023-05-16T11:42:41 [GitWrapper] ERROR API encountered errors processing current request (team:getByName). More information is available in log file
2023-05-16T11:42:41 [GitWrapper] ERROR HttpError: Not Found
2023-05-16T11:42:41 [GitWrapper] WARN Could not find team with name eclipsefdn-security to update
(node:22) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'name' of undefined
at getTeamMembers (/app/src/GitWrapper.js:905:51)
at module.exports.getTeamMembers (/app/src/GitWrapper.js:404:12)
at updateTeam (/app/src/Sync.js:458:28)
at async processOrg (/app/src/Sync.js:432:5)
at async processStaticTeam (/app/src/Sync.js:320:7)
at async runSync (/app/src/Sync.js:197:5)
at async _init (/app/src/Sync.js:149:3)
(node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 516)
(node:22) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
┌──────────────────────────────────────────────┐
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /.config │
└──────────────────────────────────────────────┘