You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vitaliy Osipov (Jira)" <ji...@apache.org> on 2023/10/25 10:31:00 UTC
[jira] [Updated] (IGNITE-20736) TC bot doesn't trigger build if user login TC contains a dot
[ https://issues.apache.org/jira/browse/IGNITE-20736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitaliy Osipov updated IGNITE-20736:
------------------------------------
Summary: TC bot doesn't trigger build if user login TC contains a dot (was: TC bot doesn't trigger build if user login name TC contains a dot)
> TC bot doesn't trigger build if user login TC contains a dot
> ------------------------------------------------------------
>
> Key: IGNITE-20736
> URL: https://issues.apache.org/jira/browse/IGNITE-20736
> Project: Ignite
> Issue Type: Task
> Reporter: Vitaliy Osipov
> Priority: Minor
>
> Problem
> Login name TC - yuri.naryshkin
> Successful entry to TCBot - [https://tcbot2.sbt-ignite-dev.ru/] or [https://mtcga.ignite.apache.org/ |https://mtcga.ignite.apache.org/]
> Error *424* If you run the *build trigger* on PR
> {code:java}
> Dependency problem: [424]: Service https://ci2.ignite.apache.org/app/rest/buildQueue returned forbidden error
> {code}
> Log TC Bot
> {code}
> 2023-10-25 09:12:50.023 INFO [qtp1971489295-191833] - [[yuri.naryshkin]] branches/getServerIds Session:4ZMFqmlGS5g=
> 2023-10-25 09:12:50.095 INFO [qtp1971489295-192258] - [[yuri.naryshkin]] visa/contributions Session:4ZMFqmlGS5g=
> 2023-10-25 09:12:51.389 INFO [tc-scheduler-pool-3-thread-2] - tc-scheduler-pool-3-thread-2: Required: 67ms : Sending 'GET' request to : https://ci2.ignite.apache.org/app/rest/latest/builds?locator=defaultFilter:false Response: 401
> 2023-10-25 09:12:51.390 ERROR [tc-scheduler-pool-3-thread-2] - Background task [ITeamcityIgnited.actualizeRecentBuildRefs.apache] execution failure: Service https://ci2.ignite.apache.org/app/rest/latest/builds?locator=defaultFilter:false returned forbidden error.
> org.apache.ignite.tcbot.common.exeption.ServiceUnauthorizedException: Service https://ci2.ignite.apache.org/app/rest/latest/builds?locator=defaultFilter:false returned forbidden error.
> at org.apache.ignite.tcbot.common.util.HttpUtil.getInputStream(HttpUtil.java:207)
> at org.apache.ignite.tcbot.common.util.HttpUtil.sendGetWithBasicAuth(HttpUtil.java:99)
> at org.apache.ignite.tcservice.http.TeamcityRecordingConnection.sendGet(TeamcityRecordingConnection.java:34)
> at org.apache.ignite.tcservice.TeamcityServiceConnection.sendGetXmlParseJaxb(TeamcityServiceConnection.java:287)
> at org.apache.ignite.tcservice.TeamcityServiceConnection.getBuildRefsPage(TeamcityServiceConnection.java:362)
> at org.apache.ignite.tcbot.common.interceptor.AutoProfilingInterceptor.invoke(AutoProfilingInterceptor.java:72)
> at org.apache.ignite.tcignited.buildref.BuildRefSync.runActualizeBuildRefs(BuildRefSync.java:80)
> at org.apache.ignite.tcbot.common.interceptor.AutoProfilingInterceptor.invoke(AutoProfilingInterceptor.java:72)
> at org.apache.ignite.tcbot.common.interceptor.MonitoredTaskInterceptor.invoke(MonitoredTaskInterceptor.java:164)
> at org.apache.ignite.tcignited.TeamcityIgnitedImpl.actualizeRecentBuildRefs(TeamcityIgnitedImpl.java:680)
> at org.apache.ignite.tcbot.common.interceptor.MonitoredTaskInterceptor.invoke(MonitoredTaskInterceptor.java:164)
> at org.apache.ignite.tcignited.TeamcityIgnitedImpl.lambda$ensureActualizeRequested$12(TeamcityIgnitedImpl.java:516)
> at org.apache.ignite.tcbot.persistence.scheduler.NamedTask.runIfNeeded(NamedTask.java:122)
> at org.apache.ignite.tcbot.persistence.scheduler.TcBotScheduler.lambda$checkNamedTasks$2(TcBotScheduler.java:90)
> at java.util.concurrent.ConcurrentHashMap.forEach(ConcurrentHashMap.java:1597)
> at org.apache.ignite.tcbot.persistence.scheduler.TcBotScheduler.checkNamedTasks(TcBotScheduler.java:88)
> at org.apache.ignite.tcbot.common.interceptor.MonitoredTaskInterceptor.invoke(MonitoredTaskInterceptor.java:164)
> at org.apache.ignite.tcbot.persistence.scheduler.TcBotScheduler.lambda$sheduleNamed$1(TcBotScheduler.java:75)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> WA.
> The problem was not repeated after changing the login to yuri_naryshkin
--
This message was sent by Atlassian Jira
(v8.20.10#820010)