Description
A command that has any ; characters in it is rendered into multiple stack frames instead of just one. After this happens, the colorization is also wrong. Most commands do not have this character in them, so we normally do not see this bug. However, we can easily construct an example by injecting the following (e.g.) into a yaml and deploying to k8s:
Create an image of golang-sample-app (hereafter, referred to as the "go server app") from https://github.com/codefresh-contrib/golang-sample-app/. For convenience, there is an image here: gcr.io/pl-pixies/users/jps/go-sample-app-multi:latest.
Create a pod for the go server app; you can use this yaml:
Is there some way we can actually distinguish between a ; to mark a complete stackframe vs not? If not, we should probably update the underlying tables so that they use another character as a delimiter instead.
Description A command that has any
;
characters in it is rendered into multiple stack frames instead of just one. After this happens, the colorization is also wrong. Most commands do not have this character in them, so we normally do not see this bug. However, we can easily construct an example by injecting the following (e.g.) into a yaml and deploying to k8s:Steps to reproduce
Create an image of
golang-sample-app
(hereafter, referred to as the "go server app") from https://github.com/codefresh-contrib/golang-sample-app/. For convenience, there is an image here:gcr.io/pl-pixies/users/jps/go-sample-app-multi:latest
.Create a pod for the go server app; you can use this yaml:
Create a pod for the workload, essentially a shell script that pings the server:
See error
Expected behavior We expect to see:
rendered into a single stack frame and colorized in the darker blue hue.
Screenshots See, e.g. this flamegraph:
Logs n/a
App information (please complete the following information):