-
-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck on inspection when building on aarch64 #633
Comments
using --show-clogs --show-blogs --debug parameters to print more deatils below: time="2024-01-23T11:36:58+08:00" level=debug msg="sysinfo => system.SystemInfo{Sysname:"Linux", Nodename:"Kylin.localdomain", Release:"4.19.90-25.17.73.po1.aarch64", Version:"#1 SMP Mon Nov 21 19:25:21 UTC 2022", Machine:"aarch64", Domainname:"(none)", OsBuild: time="2024-01-23T11:36:59+08:00" level=debug msg="channel.NewClient: connect wait timeout - 1m0s" time="2024-01-23T11:37:04+08:00" level=debug msg="channel.Client.Read: frame data => tid=1705981024436186280.944e6d985ff836a8 type=ft.response body='{"status":"ok"}'" time="2024-01-23T11:37:04+08:00" level=error msg="ipc.Client.GetEvent(): event channel error = EOF\n" |
Where did you put the "--show-clogs" flag when you called "slim"? The shared logs only show the debug messages from the main app. It looks like the temporary container crashed and the main app errors out because the IPC channels to the sensor in the crashed container are down. The command should look like this: |
Expected Behavior
bulid successfully finished on aarch64 machine
Actual Behavior
stuck on build state=container.inspection.finishing, specific errors are as follows:
cmd=build state=container.inspection.finishing
time="2024-01-23T11:10:14+08:00" level=error msg="channel.CommandClient.Call: c.Read error = EOF"
time="2024-01-23T11:10:14+08:00" level=error msg="ipc.Client.SendCommand() cmd channel call error=EOF\n"
time="2024-01-23T11:10:14+08:00" level=warning msg="slim: warning" error=EOF stack="goroutine 1 [running]:\nruntime/debug.Stack()\n\truntime/debug/stack.go:24 +0x64\ngithub.com/slimtoolkit/slim/pkg/util/errutil.WarnOn({0x1dda080, 0x2dfa310})\n\tgithub.com/slimtoolkit/slim/pkg/util/errutil/errutil.go:45 +0x38\ngithub.com/slimtoolkit/slim/pkg/app/master/inspectors/container.(*Inspector).FinishMonitoring(0x4000026580)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/inspectors/container/container_inspector.go:1293 +0x14c\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.OnCommand(_, , {, _}, , {, }, {, }, {, ...}, ...)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/handler.go:1182 +0x3c8c\ngithub.com/slimtoolkit/slim/pkg/app/master/command/build.glob..func1(0x4000534cc0)\n\tgithub.com/slimtoolkit/slim/pkg/app/master/command/build/cli.go:754 +0x49dc\ngithub.com/urfave/cli/v2.(*Command).Run(0x2e13280, 0x400025c600)\n\tgithub.com/urfave/cli/[email protected]/command.go:163 +0x4a8\ngithub.com/urfave/cli/v2.(*App).RunContext(0x40002124e0, {0x1df8268?, 0x2e90c60}, {0x4000134000, 0x8, 0x8})\n\tgithub.com/urfave/cli/[email protected]/app.go:313 +0x808\ngithub.com/urfave/cli/v2.(*App).Run(...)\n\tgithub.com/urfave/cli/[email protected]/app.go:224\ngithub.com/slimtoolkit/slim/pkg/app/master.Run()\n\tgithub.com/slimtoolkit/slim/pkg/app/master/app.go:15 +0x4c\nmain.main()\n\tgithub.com/slimtoolkit/slim/cmd/slim/main.go:15 +0x194\n" version="linux/arm64|Transformer|1.40.10|b04d388ded5cc50e89c532604b63cc2c0966f5cf|2024-01-18_04:11:02AM"
seems to get stuck on "/opt/_slim/bin/slim-sensor -log-level warn -log-format text"
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: