Please find the logs below, these are just "agent" logs I got from the container :
2022-12-19 19:03:22,364 INFO [main] ClassPathXmlApplicationContext:583 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@74e52303: startup date [Mon Dec 19 19:03:22 UTC 2022]; root of context hierarchy
2022-12-19 19:03:22,398 INFO [main] XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [applicationContext.xml]
2022-12-19 19:03:22,677 INFO [main] XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [applicationContext-plugin-infra.xml]
2022-12-19 19:03:23,301 INFO [main] DefaultListableBeanFactory:821 - Overriding bean definition for bean 'pluginLoader' with a different definition: replacing [Generic bean: class [com.thoughtworks.go.plugin.infra.PluginLoader]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:onejar:lib/go-plugin-infra-22.1.0-13913.jar!/com/thoughtworks/go/plugin/infra/PluginLoader.class]] with [Generic bean: class [com.thoughtworks.go.plugin.infra.PluginLoader]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext-plugin-infra.xml]]
2022-12-19 19:03:23,633 INFO [main] AutowiredAnnotationBeanPostProcessor:156 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2022-12-19 19:03:24,869 INFO [main] AgentStatusHttpd:90 - Agent status HTTP API server running on
http://localhost:8152.
2022-12-19 19:03:24,954 INFO [main] AgentHTTPClientController:96 - Configured remoting type: RemotingClient
2022-12-19 19:03:24,972 INFO [main] ThreadPoolTaskScheduler:166 - Initializing ExecutorService 'scheduler'
2022-12-19 19:03:26,004 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/bundled/gocd-yum-repository-poller-plugin.jar
2022-12-19 19:03:26,185 INFO [scheduler-1] SslInfrastructureService:78 - [Agent Registration] Starting to register agent.
2022-12-19 19:03:26,185 INFO [scheduler-1] SslInfrastructureService:88 - [Agent Registration] Fetching token from server.
2022-12-19 19:03:26,193 INFO [scheduler-1] TokenRequester:56 - The server has generated token for the agent.
2022-12-19 19:03:26,195 INFO [scheduler-1] SslInfrastructureService:91 - [Agent Registration] Got a token from server.
2022-12-19 19:03:26,205 INFO [scheduler-1] SslInfrastructureService:170 - This agent is now approved by the server.
2022-12-19 19:03:26,205 INFO [scheduler-1] SslInfrastructureService:119 - [Agent Registration] Retrieved registration from Go server.
2022-12-19 19:03:26,237 INFO [scheduler-1] SslInfrastructureService:81 - [Agent Registration] Successfully registered agent.
2022-12-19 19:03:26,337 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/bundled/gocd-yum-repository-poller-plugin.jar
2022-12-19 19:03:26,346 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/abcd-gocd-generic-nexus-task-plugin-1.1.jar
2022-12-19 19:03:26,554 ERROR [scheduler-2] RemotingClient:166 - Server responded to action `ping` with: status[422 Unprocessable Entity], body[{
"message" : "Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set; nested exception is com.thoughtworks.go.server.service.AgentNoCookieSetException: Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set"
}]
2022-12-19 19:03:26,556 ERROR [scheduler-2] AgentHTTPClientController:114 - Error occurred when agent tried to ping server:
java.lang.RuntimeException: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:118)
at com.thoughtworks.go.agent.RemotingClient.ping(RemotingClient.java:74)
at com.thoughtworks.go.agent.AgentHTTPClientController.ping(AgentHTTPClientController.java:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at com.thoughtworks.go.agent.RemotingClient.validateResponse(RemotingClient.java:141)
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:114)
... 14 common frames omitted
2022-12-19 19:03:28,110 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/abcd-gocd-generic-nexus-task-plugin-1.1.jar
2022-12-19 19:03:28,119 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/abcd-gocd-nexus-task-plugin-1.6.jar
2022-12-19 19:03:30,554 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/abcd-gocd-nexus-task-plugin-1.6.jar
2022-12-19 19:03:30,562 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/gocd-git-path-material-plugin-2.2.0-164.jar
2022-12-19 19:03:31,564 ERROR [scheduler-2] RemotingClient:166 - Server responded to action `ping` with: status[422 Unprocessable Entity], body[{
"message" : "Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set; nested exception is com.thoughtworks.go.server.service.AgentNoCookieSetException: Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set"
}]
2022-12-19 19:03:31,564 ERROR [scheduler-2] AgentHTTPClientController:114 - Error occurred when agent tried to ping server:
java.lang.RuntimeException: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:118)
at com.thoughtworks.go.agent.RemotingClient.ping(RemotingClient.java:74)
at com.thoughtworks.go.agent.AgentHTTPClientController.ping(AgentHTTPClientController.java:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at com.thoughtworks.go.agent.RemotingClient.validateResponse(RemotingClient.java:141)
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:114)
... 14 common frames omitted
2022-12-19 19:03:33,363 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/gocd-git-path-material-plugin-2.2.0-164.jar
2022-12-19 19:03:33,370 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/script-executor-0.3.0.jar
2022-12-19 19:03:35,825 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/script-executor-0.3.0.jar
2022-12-19 19:03:35,836 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/abcd-gocd-nexus-material-plugin-1.1.jar
2022-12-19 19:03:36,571 ERROR [scheduler-2] RemotingClient:166 - Server responded to action `ping` with: status[422 Unprocessable Entity], body[{
"message" : "Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set; nested exception is com.thoughtworks.go.server.service.AgentNoCookieSetException: Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set"
}]
2022-12-19 19:03:36,571 ERROR [scheduler-2] AgentHTTPClientController:114 - Error occurred when agent tried to ping server:
java.lang.RuntimeException: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:118)
at com.thoughtworks.go.agent.RemotingClient.ping(RemotingClient.java:74)
at com.thoughtworks.go.agent.AgentHTTPClientController.ping(AgentHTTPClientController.java:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at com.thoughtworks.go.agent.RemotingClient.validateResponse(RemotingClient.java:141)
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:114)
... 14 common frames omitted
2022-12-19 19:03:38,530 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/abcd-gocd-nexus-material-plugin-1.1.jar
2022-12-19 19:03:38,540 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/abcd-gocd-nexus-component-task-plugin-1.2.jar
2022-12-19 19:03:41,578 ERROR [scheduler-2] RemotingClient:166 - Server responded to action `ping` with: status[422 Unprocessable Entity], body[{
"message" : "Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set; nested exception is com.thoughtworks.go.server.service.AgentNoCookieSetException: Agent [Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b, null]] has no cookie set"
}]
2022-12-19 19:03:41,579 ERROR [scheduler-2] AgentHTTPClientController:114 - Error occurred when agent tried to ping server:
java.lang.RuntimeException: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:118)
at com.thoughtworks.go.agent.RemotingClient.ping(RemotingClient.java:74)
at com.thoughtworks.go.agent.AgentHTTPClientController.ping(AgentHTTPClientController.java:109)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.client.ClientProtocolException: The server returned status code 422. Possible reasons include:
- This agent has been deleted from the configuration
- This agent is pending approval
at com.thoughtworks.go.agent.RemotingClient.validateResponse(RemotingClient.java:141)
at
com.thoughtworks.go.agent.RemotingClient.post(RemotingClient.java:114)
... 14 common frames omitted
2022-12-19 19:03:42,754 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/abcd-gocd-nexus-component-task-plugin-1.2.jar
2022-12-19 19:03:42,762 INFO [main] DefaultPluginJarChangeListener:67 - Plugin load starting: /go/plugins/external/epcc-nexus-gocd-2.0-SNAPSHOT.jar
2022-12-19 19:03:46,231 INFO [main] DefaultPluginJarChangeListener:74 - Plugin load finished: /go/plugins/external/epcc-nexus-gocd-2.0-SNAPSHOT.jar
2022-12-19 19:03:46,232 INFO [scheduler-1] AgentHTTPClientController:139 - About to get cookie from the server.
2022-12-19 19:03:46,243 INFO [scheduler-1] AgentHTTPClientController:142 - Got cookie: 0838ac28-be1e-4965-a6ca-833b2c2ba63b
2022-12-19 19:03:56,343 INFO [scheduler-1] HttpService:125 - Got back 200 from server
2022-12-19 19:03:56,344 INFO [scheduler-1] DefaultGoPublisher:88 - Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is reporting status [Preparing] to Go Server for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]
2022-12-19 19:03:56,393 INFO [scheduler-1] HttpService:125 - Got back 200 from server
2022-12-19 19:03:56,394 INFO [scheduler-1] DefaultGoPublisher:88 - Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is reporting status [Building] to Go Server for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]
2022-12-19 19:03:57,122 INFO [scheduler-1] HttpService:125 - Got back 200 from server
2022-12-19 19:03:57,123 INFO [scheduler-1] DefaultGoPublisher:94 - Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is reporting build result [Passed] to Go Server for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]
2022-12-19 19:03:57,153 INFO [scheduler-1] HttpService:125 - Got back 200 from server
2022-12-19 19:03:57,154 INFO [scheduler-1] DefaultGoPublisher:88 - Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is reporting status [Completing] to Go Server for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]
2022-12-19 19:03:57,180 INFO [scheduler-1] ArtifactsPublisher:68 - Pluggable metadata folder is empty.
2022-12-19 19:03:57,180 INFO [scheduler-1] DefaultGoPublisher:100 - Agent [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is reporting build result [Passed] to Go Server for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]
2022-12-19 19:03:57,185 INFO [scheduler-1] HttpService:125 - Got back 200 from server
2022-12-19 19:03:57,238 INFO [scheduler-1] DefaultGoPublisher:82 - Stopping Transmission for Build [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012]