自动同步: 2026-03-02 01:00

This commit is contained in:
2026-03-02 01:00:01 +08:00
parent bd289a21b8
commit 1a71ce9386
7 changed files with 119 additions and 20 deletions
@@ -0,0 +1,76 @@
2026-03-01T15:58:22.8933862Z local-runner(version:v0.3.0) received task 62 of job 70, be triggered by event: push
2026-03-01T15:58:22.8939089Z workflow prepared
2026-03-01T15:58:22.8939996Z evaluating expression 'success()'
2026-03-01T15:58:22.8940784Z expression 'success()' evaluated to 'true'
2026-03-01T15:58:22.8940924Z 🚀 Start image=gitea-runner-php:latest
2026-03-01T15:58:22.9020914Z 🐳 docker pull image=gitea-runner-php:latest platform= username= forcePull=false
2026-03-01T15:58:22.9021178Z 🐳 docker pull gitea-runner-php:latest
2026-03-01T15:58:22.9187045Z Image exists? true
2026-03-01T15:58:22.9280509Z Cleaning up network for job 快速测试, and network name is: GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network
2026-03-01T15:58:22.9605210Z 🐳 docker create image=gitea-runner-php:latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network"
2026-03-01T15:58:22.9726112Z Custom container.Config from options ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:true ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image: Volumes:map[] WorkingDir: Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
2026-03-01T15:58:22.9726602Z Merged container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:true AttachStderr:true ExposedPorts:map[] Tty:false OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:gitea-runner-php:latest Volumes:map[] WorkingDir:/workspace/starmen1265/kb-web Entrypoint:[/bin/sleep 10800] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
2026-03-01T15:58:22.9727112Z Custom container.HostConfig from options ==> &{Binds:[] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network PortBindings:map[] RestartPolicy:{Name:no MaximumRetryCount:0} AutoRemove:false 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:0x27d418c7c3c8 OomKillDisable:0x27d418c7c2c3 PidsLimit:0x27d418c7c428 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
2026-03-01T15:58:22.9727713Z --network and --net in the options will be ignored.
2026-03-01T15:58:22.9728082Z Merged container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network PortBindings:map[] RestartPolicy:{Name:no 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:0x27d418c7c3c8 OomKillDisable:0x27d418c7c2c3 PidsLimit:0x27d418c7c428 Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB Target:/workspace/starmen1265/kb-web ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
2026-03-01T15:58:23.0343034Z Created container name=GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB id=3bf638d4a888a88d0a68648e6dc93c83e717af46e024b49bd12104695dbdfdc9 from image gitea-runner-php:latest (platform: )
2026-03-01T15:58:23.0343488Z ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=X64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
2026-03-01T15:58:23.0343631Z 🐳 docker run image=gitea-runner-php:latest platform= entrypoint=["/bin/sleep" "10800"] cmd=[] network="GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network"
2026-03-01T15:58:23.0343837Z Starting container: 3bf638d4a888a88d0a68648e6dc93c83e717af46e024b49bd12104695dbdfdc9
2026-03-01T15:58:23.1516544Z Started container: 3bf638d4a888a88d0a68648e6dc93c83e717af46e024b49bd12104695dbdfdc9
2026-03-01T15:58:23.2220121Z Writing entry to tarball workflow/event.json len:4759
2026-03-01T15:58:23.2220535Z Writing entry to tarball workflow/envs.txt len:0
2026-03-01T15:58:23.2220662Z Extracting content to '/var/run/act/'
2026-03-01T15:58:23.2429615Z evaluating expression ''
2026-03-01T15:58:23.2430104Z expression '' evaluated to 'true'
2026-03-01T15:58:23.2430306Z ⭐ Run Main 检出代码
2026-03-01T15:58:23.2430493Z Writing entry to tarball workflow/outputcmd.txt len:0
2026-03-01T15:58:23.2430662Z Writing entry to tarball workflow/statecmd.txt len:0
2026-03-01T15:58:23.2430784Z Writing entry to tarball workflow/pathcmd.txt len:0
2026-03-01T15:58:23.2431018Z Writing entry to tarball workflow/envs.txt len:0
2026-03-01T15:58:23.2431123Z Writing entry to tarball workflow/SUMMARY.md len:0
2026-03-01T15:58:23.2431256Z Extracting content to '/var/run/act'
2026-03-01T15:58:23.2589330Z expression 'git clone -b ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git .\ngit checkout ${{ github.sha }}\n' rewritten to 'format('git clone -b {0} {1}/{2}.git .\ngit checkout {3}\n', github.ref_name, github.server_url, github.repository, github.sha)'
2026-03-01T15:58:23.2589602Z evaluating expression 'format('git clone -b {0} {1}/{2}.git .\ngit checkout {3}\n', github.ref_name, github.server_url, github.repository, github.sha)'
2026-03-01T15:58:23.2589922Z expression 'format('git clone -b {0} {1}/{2}.git .\ngit checkout {3}\n', github.ref_name, github.server_url, github.repository, github.sha)' evaluated to '%!t(string=git clone -b feature/article-word-count http://192.168.1.22:8418/starmen1265/kb-web.git .\ngit checkout 5a8cf2cbece7fecc709e03695472911ccbd47dbe\n)'
2026-03-01T15:58:23.2590010Z Wrote command \n\ngit clone -b feature/article-word-count http://192.168.1.22:8418/starmen1265/kb-web.git .\ngit checkout 5a8cf2cbece7fecc709e03695472911ccbd47dbe\n\n\n to 'workflow/0.sh'
2026-03-01T15:58:23.2590121Z Writing entry to tarball workflow/0.sh len:146
2026-03-01T15:58:23.2590232Z Extracting content to '/var/run/act'
2026-03-01T15:58:23.2605306Z 🐳 docker exec cmd=[sh -e /var/run/act/workflow/0.sh] user= workdir=
2026-03-01T15:58:23.2605520Z Exec command '[sh -e /var/run/act/workflow/0.sh]'
2026-03-01T15:58:23.2605708Z Working directory '/workspace/starmen1265/kb-web'
2026-03-01T15:58:23.3003845Z Cloning into '.'...
2026-03-01T15:58:23.4054573Z Note: switching to '5a8cf2cbece7fecc709e03695472911ccbd47dbe'.
2026-03-01T15:58:23.4055193Z
2026-03-01T15:58:23.4055422Z You are in 'detached HEAD' state. You can look around, make experimental
2026-03-01T15:58:23.4055677Z changes and commit them, and you can discard any commits you make in this
2026-03-01T15:58:23.4055904Z state without impacting any branches by switching back to a branch.
2026-03-01T15:58:23.4056154Z
2026-03-01T15:58:23.4056347Z If you want to create a new branch to retain commits you create, you may
2026-03-01T15:58:23.4056561Z do so (now or later) by using -c with the switch command. Example:
2026-03-01T15:58:23.4056756Z
2026-03-01T15:58:23.4056954Z git switch -c <new-branch-name>
2026-03-01T15:58:23.4057181Z
2026-03-01T15:58:23.4057381Z Or undo this operation with:
2026-03-01T15:58:23.4057515Z
2026-03-01T15:58:23.4057620Z git switch -
2026-03-01T15:58:23.4057729Z
2026-03-01T15:58:23.4057844Z Turn off this advice by setting config variable advice.detachedHead to false
2026-03-01T15:58:23.4057965Z
2026-03-01T15:58:23.4058071Z HEAD is now at 5a8cf2c fix: 添加多个调试 echo 确认执行流程
2026-03-01T15:58:23.4872746Z PHP: PHP 8.2.30 (cli) (built: Feb 24 2026 19:14:45) (NTS)
2026-03-01T15:58:23.5297459Z PHP version 8.2.30 (/usr/local/bin/php)
2026-03-01T15:58:23.5298011Z Run the "diagnose" command to get more detailed diagnostics output.
2026-03-01T15:58:23.5321347Z Composer: Composer version 2.9.5 2026-01-29 11:40:53
2026-03-01T15:58:23.5324055Z /var/run/act/workflow/1.sh: 4: node: not found
2026-03-01T15:58:23.5324981Z Node:
2026-03-01T15:58:23.6061077Z 📝 PHP 语法检查...
2026-03-01T15:58:23.6517685Z ❌ Failure - Main PHP 语法检查
2026-03-01T15:58:23.6572646Z exitcode '255': failure
2026-03-01T15:58:23.6983093Z Cleaning up container for job 快速测试
2026-03-01T15:58:23.8381783Z Removed container: 3bf638d4a888a88d0a68648e6dc93c83e717af46e024b49bd12104695dbdfdc9
2026-03-01T15:58:23.8387755Z 🐳 docker volume rm GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB
2026-03-01T15:58:23.8433681Z 🐳 docker volume rm GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-env
2026-03-01T15:58:23.8464827Z Cleaning up network for job 快速测试, and network name is: GITEA-ACTIONS-TASK-62_WORKFLOW-Test-CI_JOB-quick-test-network
2026-03-01T15:58:23.9970205Z 🏁 Job failed
2026-03-01T15:58:24.0047540Z Job '快速测试' failed