Created attachment 945257 [details] Please refer to this screenshot for corrupted strings Description of problem: When try to get build log with command openshift kube buildLogs --id="$build_id", there are some squares display in the beginning of each line.(will attach a screenshot to prove this) Version-Release number of selected component (if applicable): devenv-fedora_231 How reproducible: always Steps to Reproduce: 1.Start openshift 2.Push a build 3.Get the build log $openshift kube buildLogs --id="$build_id" Actual results: There are square in the beginning of each line in returned build log. Expected results: It should display correctly with correct format. Additional info:
Created attachment 945461 [details] Corrupted strings also displays in container log
The problem is in the RawTerminal attribute of LogOptions in k8s/kubelet/dockertools/docker.go#350. After switching to false the build logs will appear in a correct format. Already send a PR to k8s upstream. https://github.com/GoogleCloudPlatform/kubernetes/pull/2324 Could you please test the change and confirm that its working? Thanks
Verified on devenv-fedora_684. No corrupted strings coming out.