Automation failed to work

Hi,

I am a newcomer to Space, and I have installed Space according to this document:

https://www.jetbrains.com/help/space/install-space-with-docker-compose.html

https://www.jetbrains.com/help/space/configure-space-for-docker-compose-production-environment.html

but Automation Script is not working properly: Unable to process script.

my. space.kts content:

job ("Hello World!"){

container (displayName="Say Hello", image="hello world")

}

This is just sample code, I don't understand why,

This is the log of space:

space-on-premises-space-1  | 2023-07-17 09:11:40.497 [ktor-jetty-8084-9084-7] INFO  c.s.g.VcsHostingPushNotifications [dbType=postgresql, trace_id=7256712748373668716, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Received push notification for RepositoryId(question-question-backend-7cb6c308), requestDescriptor=JetBrains Space VCS Hosting Version 2023.2.0.128
space-on-premises-space-1  | Built on 05 Jul 2023, 13:38 GMT
space-on-premises-space-1  | Commit hash: b2d5b3da45d1803251c4779d643ce43765bc6270
space-on-premises-space-1  | Branch: 2023.2, payload length=2243
space-on-premises-space-1  | 2023-07-17 09:11:40.499 [ktor-jetty-8084-9084-3] INFO  c.c.u.CommitMessageUnfurlProcessor [dbType=postgresql, trace_id=7256712748373668716, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Processing unfurls from commit message for f43222653b57c54fe0323f6b6da087057d010b51, repo id = 6401544999361892208: 0 regular unfurls, 0 async tasks, 0 app unfurl candidates, 0 attachments
space-on-premises-space-1  | 2023-07-17 09:11:40.501 [[tx-pool] shared-90] INFO  c.d.changes.DeploymentsVcsListener [dbType=postgresql, trace_id=7256712748349684260, orgDomain=space, orgId=8990295946800986039, txOriginName=DeploymentsVcsEventListener:onRepoHeadsChanged, dbKey=postgres] - Triggered sync for deployments []
space-on-premises-space-1  | 2023-07-17 09:11:40.505 [ktor-jetty-8084-9084-1] INFO  c.s.g.VcsHostingPushNotifications [dbType=postgresql, trace_id=7256712748547256860, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Received push notification for RepositoryId(question-question-backend-7cb6c308), requestDescriptor=JetBrains Space VCS Hosting Version 2023.2.0.128
space-on-premises-space-1  | Built on 05 Jul 2023, 13:38 GMT
space-on-premises-space-1  | Commit hash: b2d5b3da45d1803251c4779d643ce43765bc6270
space-on-premises-space-1  | Branch: 2023.2, payload length=236
space-on-premises-space-1  | 2023-07-17 09:11:40.535 [ktor-jetty-8084-9084-4] INFO  c.s.compute.vcs.ComputeVcsDispatcher [dbType=postgresql, trace_id=7256712748373668716, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - RepositoryId(question-question-backend-7cb6c308) vcs event: RepoChangedEvent[initial: false, addedHeads: 0, updatedHeads: 1, removedHeads: 0, totalNewCommits: 1, deletedCommits: 0]
space-on-premises-space-1  | 2023-07-17 09:11:40.551 [server dispatch thread 8] INFO  c.p.e.api.utils.AutomationTracer [commit=f43222653b57c54fe0323f6b6da087057d010b51, dbType=postgresql, trace_id=7256712748373668716, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Launch jobs by push trigger
space-on-premises-space-1  | 2023-07-17 09:11:41.536 [server dispatch thread 7] INFO  circlet.code.MergeRequestUpdater [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Received repo RepositoryId(question-question-backend-7cb6c308) change: updatedHeads ([refs/heads/main]), removedHeads ([]), addedHeads ([]),principalId (8490297669229465890)
space-on-premises-space-1  | 2023-07-17 09:11:41.542 [server dispatch thread 2] INFO  c.c.i.IssueToCommitsAndCodeReviewsAutoLinker [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Processing 1 non-merge commits (1 total), 0 deleted commits
space-on-premises-space-1  | 2023-07-17 09:11:41.543 [server dispatch thread 7] INFO  c.c.i.IssueToCommitsAndCodeReviewsAutoLinker [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Parsed 0 issue numbers from commit message (hash = f43222653b57c54fe0323f6b6da087057d010b51)
space-on-premises-space-1  | 2023-07-17 09:11:41.543 [server dispatch thread 7] INFO  c.c.i.IssueToCommitsAndCodeReviewsAutoLinker [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Filtered 0 potential issue-commit links by project and branch spec
space-on-premises-space-1  | 2023-07-17 09:11:41.543 [server dispatch thread 2] INFO  c.c.i.IssueToCommitsAndCodeReviewsAutoLinker [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, dbKey=postgres] - Found 0 issue to commit links to create, filtered out 0 commits belonging to linked MRs
space-on-premises-space-1  | 2023-07-17 09:11:41.544 [[tx-pool] shared-32] INFO  c.c.i.IssueToCommitsAndCodeReviewsAutoLinker [dbType=postgresql, trace_id=7256712752619297851, orgDomain=space, orgId=8990295946800986039, txOriginName=readEvents:MergeRequestCommitUpdater, dbKey=postgres] - Found 0 issue to code review links to create, due to created issue commit links

any help thanks.

0
2 comments

Xin Chen Hi,

Have you configured a self-hosted worker? If yes, try to execute the script again and share the logs from the automation container and docker-compose.yml from the Space installation directory.

1

Oleg Beriashvili Thanks ,I understand,This installation method has no workers in the space,Now I have configured a self-hosted worker,It successfully executed the script.

0

Please sign in to leave a comment.