artifactview/tests/testfiles/giteaWorkflowRun.json

320 lines
16 KiB
JSON

{
"state": {
"run": {
"link": "/ThetaDev/test-actions/actions/runs/92",
"title": "Update README.md",
"status": "success",
"canCancel": false,
"canApprove": false,
"canRerun": true,
"canDeleteArtifact": true,
"done": true,
"jobs": [
{
"id": 377,
"name": "Test",
"status": "success",
"canRerun": true,
"duration": "2s"
}
],
"commit": {
"localeCommit": "Commit",
"localePushedBy": "pushed by",
"localeWorkflow": "Workflow",
"shortSHA": "6185409d45",
"link": "/ThetaDev/test-actions/commit/6185409d457e0a7833ee122811b138a950273229",
"pusher": { "displayName": "ThetaDev", "link": "/ThetaDev" },
"branch": { "name": "#3", "link": "/ThetaDev/test-actions/pulls/3" }
}
},
"currentJob": {
"title": "Test",
"detail": "Success",
"steps": [
{
"summary": "Set up job",
"duration": "1s",
"status": "success"
},
{ "summary": "Test", "duration": "0s", "status": "success" },
{
"summary": "Comment PR",
"duration": "1s",
"status": "success"
},
{
"summary": "Complete job",
"duration": "0s",
"status": "success"
}
]
}
},
"logs": {
"stepsLog": [
{
"step": 0,
"cursor": 51,
"lines": [
{
"index": 1,
"message": "ocloud(version:v3.4.1) received task 431 of job 377, be triggered by event: pull_request",
"timestamp": 1718902104.1911685
},
{
"index": 2,
"message": "workflow prepared",
"timestamp": 1718902104.1916893
},
{
"index": 3,
"message": "evaluating expression 'success()'",
"timestamp": 1718902104.1919434
},
{
"index": 4,
"message": "expression 'success()' evaluated to 'true'",
"timestamp": 1718902104.1920443
},
{
"index": 5,
"message": "🚀 Start image=thetadev256/cimaster:latest",
"timestamp": 1718902104.1920674
},
{
"index": 6,
"message": " 🐳 docker pull image=thetadev256/cimaster:latest platform= username= forcePull=true",
"timestamp": 1718902104.203115
},
{
"index": 7,
"message": " 🐳 docker pull thetadev256/cimaster:latest",
"timestamp": 1718902104.2031355
},
{
"index": 8,
"message": "pulling image 'docker.io/thetadev256/cimaster:latest' ()",
"timestamp": 1718902104.2031558
},
{
"index": 9,
"message": "Pulling from thetadev256/cimaster :: latest",
"timestamp": 1718902105.179988
},
{
"index": 10,
"message": "Digest: sha256:260659581e2900354877f31d5fec14db1c40999ad085a90a1a27c44b9cab8c48 :: ",
"timestamp": 1718902105.1935806
},
{
"index": 11,
"message": "Status: Image is up to date for thetadev256/cimaster:latest :: ",
"timestamp": 1718902105.1936345
},
{
"index": 12,
"message": "[{host 26303131f98bfa59ece2ca2dc1742040c8d125e22f1c07de603bd235bccf1b84 2024-04-02 20:48:57.065188715 +0000 UTC local host false {default map[] []} false false false {} false map[] map[] map[] [] map[]} {GITEA-ACTIONS-TASK-375_WORKFLOW-Build-and-push-cimaster-image_JOB-build-build-network 59ca72b83dbd990bda7af5e760fdb0e31010b855ca7e15df1a471fda8908aa47 2024-05-30 20:56:22.698163954 +0000 UTC local bridge false {default map[] [{172.24.0.0/16 172.24.0.1 map[]}]} false false false {} false map[] map[] map[] [] map[]} {none 627a84562dca9a81bd4a1fe570919035f1d608382d2b66b6b8559756d7aa2a6c 2024-04-02 20:48:57.050063369 +0000 UTC local null false {default map[] []} false false false {} false map[] map[] map[] [] map[]} {bridge 9b05952ef8d41f6a92bbc3c7f85c9fd5602e941b9e8e3cbcf84716de27d77aa9 2024-06-20 09:15:48.433095842 +0000 UTC local bridge false {default map[] [{172.17.0.0/16 172.17.0.1 map[]}]} false false false {} false map[] map[com.docker.network.bridge.default_bridge:true com.docker.network.bridge.enable_icc:true com.docker.network.bridge.enable_ip_masquerade:true com.docker.network.bridge.host_binding_ipv4:0.0.0.0 com.docker.network.bridge.name:docker0 com.docker.network.driver.mtu:1500] map[] [] map[]}]",
"timestamp": 1718902105.203977
},
{
"index": 13,
"message": " 🐳 docker create image=thetadev256/cimaster:latest platform= entrypoint=[\"tail\" \"-f\" \"/dev/null\"] cmd=[] network=\"GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test-Test-network\"",
"timestamp": 1718902105.2669988
},
{
"index": 14,
"message": "Common container.Config ==\u003e \u0026{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:\u003cnil\u003e ArgsEscaped:false Image:thetadev256/cimaster:latest Volumes:map[] WorkingDir:/workspace/ThetaDev/test-actions Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:\u003cnil\u003e Shell:[]}",
"timestamp": 1718902105.2674763
},
{
"index": 15,
"message": "Common container.HostConfig ==\u003e \u0026{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test-Test-network PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:true VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:\u003cnil\u003e OomKillDisable:\u003cnil\u003e PidsLimit:\u003cnil\u003e Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:\u003cnil\u003e VolumeOptions:\u003cnil\u003e TmpfsOptions:\u003cnil\u003e ClusterOptions:\u003cnil\u003e} {Type:volume Source:GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test Target:/workspace/ThetaDev/test-actions ReadOnly:false Consistency: BindOptions:\u003cnil\u003e VolumeOptions:\u003cnil\u003e TmpfsOptions:\u003cnil\u003e ClusterOptions:\u003cnil\u003e} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:\u003cnil\u003e VolumeOptions:\u003cnil\u003e TmpfsOptions:\u003cnil\u003e ClusterOptions:\u003cnil\u003e}] MaskedPaths:[] ReadonlyPaths:[] Init:\u003cnil\u003e}",
"timestamp": 1718902105.2731254
},
{
"index": 16,
"message": "input.NetworkAliases ==\u003e [Test]",
"timestamp": 1718902105.2733588
},
{
"index": 17,
"message": "Created container name=GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test id=953c4349622d86e68aa9b0d25b341f0ff4b36d87d5ffbae957d9efd72c3f6d64 from image thetadev256/cimaster:latest (platform: )",
"timestamp": 1718902105.3252785
},
{
"index": 18,
"message": "ENV ==\u003e [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8]",
"timestamp": 1718902105.3253257
},
{
"index": 19,
"message": " 🐳 docker run image=thetadev256/cimaster:latest platform= entrypoint=[\"tail\" \"-f\" \"/dev/null\"] cmd=[] network=\"GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test-Test-network\"",
"timestamp": 1718902105.3253412
},
{
"index": 20,
"message": "Starting container: 953c4349622d86e68aa9b0d25b341f0ff4b36d87d5ffbae957d9efd72c3f6d64",
"timestamp": 1718902105.3253546
},
{
"index": 21,
"message": "Started container: 953c4349622d86e68aa9b0d25b341f0ff4b36d87d5ffbae957d9efd72c3f6d64",
"timestamp": 1718902105.5463858
},
{
"index": 22,
"message": " 🐳 docker exec cmd=[chown -R 1000:1000 /workspace/ThetaDev/test-actions] user=0 workdir=",
"timestamp": 1718902105.6031785
},
{
"index": 23,
"message": "Exec command '[chown -R 1000:1000 /workspace/ThetaDev/test-actions]'",
"timestamp": 1718902105.6032245
},
{
"index": 24,
"message": "Working directory '/workspace/ThetaDev/test-actions'",
"timestamp": 1718902105.6032348
},
{
"index": 25,
"message": "Writing entry to tarball workflow/event.json len:8795",
"timestamp": 1718902105.6331673
},
{
"index": 26,
"message": "Writing entry to tarball workflow/envs.txt len:0",
"timestamp": 1718902105.6332214
},
{
"index": 27,
"message": "Extracting content to '/var/run/act/'",
"timestamp": 1718902105.6332443
},
{
"index": 28,
"message": " ☁ git clone 'https://code.thetadev.de/actions/comment-pull-request' # ref=v1",
"timestamp": 1718902105.6492677
},
{
"index": 29,
"message": " cloning https://code.thetadev.de/actions/comment-pull-request to /data/.cache/act/https---code.thetadev.de-actions-comment-pull-request@v1",
"timestamp": 1718902105.6493008
},
{
"index": 30,
"message": "Cloned https://code.thetadev.de/actions/comment-pull-request to /data/.cache/act/https---code.thetadev.de-actions-comment-pull-request@v1",
"timestamp": 1718902105.6817598
},
{
"index": 31,
"message": "Checked out v1",
"timestamp": 1718902105.7090926
},
{
"index": 32,
"message": "Read action \u0026{Comment Pull Request Comments a pull request with the provided message map[GITHUB_TOKEN:{Github token of the repository (automatically created by Github) false ${{ github.token }}} comment_tag:{A tag on your comment that will be used to identify a comment in case of replacement. false } create_if_not_exists:{Whether a comment should be created even if comment_tag is not found. false true} filePath:{Path of the file that should be commented false } message:{Message that should be printed in the pull request false } pr_number:{Manual pull request number false } reactions:{You can set some reactions on your comments through the `reactions` input. false } recreate:{Delete and recreate the comment instead of updating it false false}] map[] {node20 map[] act/index.js always() always() [] []} {blue message-circle}} from 'Unknown'",
"timestamp": 1718902105.709367
},
{
"index": 33,
"message": "setupEnv =\u003e map[ACT:true ACTIONS_CACHE_URL:http://192.168.96.3:44491/ ACTIONS_RESULTS_URL:https://code.thetadev.de ACTIONS_RUNTIME_TOKEN:*** ACTIONS_RUNTIME_URL:https://code.thetadev.de/api/actions_pipeline/ CI:true GITEA_ACTIONS:true GITEA_ACTIONS_RUNNER_VERSION:v3.4.1 GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:ThetaDev GITHUB_API_URL:https://code.thetadev.de/api/v1 GITHUB_BASE_REF:main GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL: GITHUB_HEAD_REF:thetadev-patch-2 GITHUB_JOB:Test GITHUB_REF:refs/pull/3/head GITHUB_REF_NAME:3 GITHUB_REF_TYPE: GITHUB_REPOSITORY:ThetaDev/test-actions GITHUB_REPOSITORY_OWNER:ThetaDev GITHUB_RETENTION_DAYS: GITHUB_RUN_ID:292 GITHUB_RUN_NUMBER:92 GITHUB_SERVER_URL:https://code.thetadev.de GITHUB_SHA:6185409d457e0a7833ee122811b138a950273229 GITHUB_TOKEN:*** GITHUB_WORKFLOW:Rust test GITHUB_WORKSPACE:/workspace/ThetaDev/test-actions ImageOS:cimasterlatest JOB_CONTAINER_NAME:GITEA-ACTIONS-TASK-431_WORKFLOW-Rust-test_JOB-Test RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]",
"timestamp": 1718902105.7244232
},
{
"index": 34,
"message": "evaluating expression ''",
"timestamp": 1718902105.7316134
},
{
"index": 35,
"message": "expression '' evaluated to 'true'",
"timestamp": 1718902105.7316737
},
{
"index": 36,
"message": "⭐ Run Main Test",
"timestamp": 1718902105.7316883
},
{
"index": 37,
"message": "Writing entry to tarball workflow/outputcmd.txt len:0",
"timestamp": 1718902105.7317095
},
{
"index": 38,
"message": "Writing entry to tarball workflow/statecmd.txt len:0",
"timestamp": 1718902105.7317333
},
{
"index": 39,
"message": "Writing entry to tarball workflow/pathcmd.txt len:0",
"timestamp": 1718902105.7317476
},
{
"index": 40,
"message": "Writing entry to tarball workflow/envs.txt len:0",
"timestamp": 1718902105.7317617
},
{
"index": 41,
"message": "Writing entry to tarball workflow/SUMMARY.md len:0",
"timestamp": 1718902105.7317736
},
{
"index": 42,
"message": "Extracting content to '/var/run/act'",
"timestamp": 1718902105.731786
},
{
"index": 43,
"message": "expression 'echo \"${{ secrets.FORGEJO_CI_TOKEN }}\"\\n' rewritten to 'format('echo \"{0}\"\\n', secrets.FORGEJO_CI_TOKEN)'",
"timestamp": 1718902105.754891
},
{
"index": 44,
"message": "evaluating expression 'format('echo \"{0}\"\\n', secrets.FORGEJO_CI_TOKEN)'",
"timestamp": 1718902105.7549253
},
{
"index": 45,
"message": "expression 'format('echo \"{0}\"\\n', secrets.FORGEJO_CI_TOKEN)' evaluated to '%!t(string=echo \"***\"\\n)'",
"timestamp": 1718902105.7549586
},
{
"index": 46,
"message": "Wrote command \\n\\necho \"***\"\\n\\n\\n to 'workflow/0'",
"timestamp": 1718902105.754978
},
{
"index": 47,
"message": "Writing entry to tarball workflow/0 len:50",
"timestamp": 1718902105.755002
},
{
"index": 48,
"message": "Extracting content to '/var/run/act'",
"timestamp": 1718902105.755024
},
{
"index": 49,
"message": " 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0] user= workdir=",
"timestamp": 1718902105.7571557
},
{
"index": 50,
"message": "Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/0]'",
"timestamp": 1718902105.7571852
},
{
"index": 51,
"message": "Working directory '/workspace/ThetaDev/test-actions'",
"timestamp": 1718902105.7572272
}
],
"started": 1718902104
}
]
}
}