diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000000000..6b80f6e18b4f2a --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,4 @@ +[allowlist] + paths = [ + '''^components/ws-manager/pkg/manager/testdata/.*\.(golden|json)$''' + ] diff --git a/components/ws-manager/pkg/manager/status.go b/components/ws-manager/pkg/manager/status.go index 6e203262e098ea..cfad1aab61618e 100644 --- a/components/ws-manager/pkg/manager/status.go +++ b/components/ws-manager/pkg/manager/status.go @@ -405,7 +405,7 @@ func (m *Manager) extractStatusFromPod(result *api.WorkspaceStatus, wso workspac // check if any container is still pulling images for _, cs := range status.ContainerStatuses { if cs.State.Waiting != nil { - if cs.State.Waiting.Reason != "ContainerCreating" { + if cs.State.Waiting.Reason != "ContainerCreating" && cs.State.Waiting.Reason != "PodInitializing" { continue } diff --git a/components/ws-manager/pkg/manager/testdata/actOnPodEvent_prebuildSuccess2_CREATING02.golden b/components/ws-manager/pkg/manager/testdata/actOnPodEvent_prebuildSuccess2_CREATING02.golden new file mode 100644 index 00000000000000..5981ded50b76f0 --- /dev/null +++ b/components/ws-manager/pkg/manager/testdata/actOnPodEvent_prebuildSuccess2_CREATING02.golden @@ -0,0 +1,3 @@ +{ + "actions": null +} diff --git a/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.golden b/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.golden new file mode 100644 index 00000000000000..234e8fd535703a --- /dev/null +++ b/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.golden @@ -0,0 +1,98 @@ +{ + "status": { + "id": "8e0bbcdf-a926-4670-8c40-b718f035b2ae", + "status_version": 65536, + "metadata": { + "owner": "d98c5b92-2066-4fce-bea6-1e08b58642ab", + "meta_id": "green-wombat-62dzneud", + "started_at": { + "seconds": 1622206099 + } + }, + "spec": { + "workspace_image": "eu.gcr.io/gitpod-core-dev/registry/workspace-images:81c4fb602a540d261f210cfc8ba0435b63b24238c1762ec029d8edaec816afb6", + "deprecated_ide_image": "eu.gcr.io/gitpod-core-dev/build/ide/code:gpl-headless-log-wsman.17", + "headless": true, + "url": "https://green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com", + "exposed_ports": [ + { + "port": 1337, + "visibility": 1, + "url": "https://1337-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 3000, + "visibility": 1, + "url": "https://3000-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 3001, + "visibility": 1, + "url": "https://3001-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 3306, + "visibility": 1, + "url": "https://3306-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 4000, + "visibility": 1, + "url": "https://4000-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 5900, + "visibility": 1, + "url": "https://5900-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 6080, + "url": "https://6080-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 9229, + "visibility": 1, + "url": "https://9229-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 9999, + "visibility": 1, + "url": "https://9999-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 13001, + "visibility": 1, + "url": "https://13001-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 7777, + "visibility": 1, + "url": "https://7777-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + }, + { + "port": 13444, + "visibility": 1, + "url": "https://13444-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com" + } + ], + "type": 1, + "ide_image": { + "web_ref": "eu.gcr.io/gitpod-core-dev/build/ide/code:gpl-headless-log-wsman.17" + } + }, + "phase": 2, + "conditions": { + "pulling_images": 1, + "volume_snapshot": {} + }, + "message": "containers are being created", + "runtime": { + "node_name": "gke-dev-workload-1-49d27f81-pd35", + "pod_name": "prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae", + "node_ip": "10.132.15.221" + }, + "auth": { + "owner_token": "FZ2k9zbSCo9e85Y21yh.SHLJbya7pW2Y" + } + } +} diff --git a/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.json b/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.json new file mode 100644 index 00000000000000..a4ed4e5947a01e --- /dev/null +++ b/components/ws-manager/pkg/manager/testdata/status_prebuildSuccess2_CREATING02.json @@ -0,0 +1 @@ +{"pod":{"kind":"Pod","apiVersion":"v1","metadata":{"name":"prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae","namespace":"staging-gpl-headless-log-wsman","selfLink":"/api/v1/namespaces/staging-gpl-headless-log-wsman/pods/prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae","uid":"bde1c8ff-8a05-43b6-a2ce-2f88e32dbe1e","resourceVersion":"198743334","creationTimestamp":"2021-05-28T12:48:19Z","labels":{"app":"gitpod","component":"workspace","gitpod.io/networkpolicy":"default","gpwsman":"true","headless":"true","metaID":"green-wombat-62dzneud","owner":"d98c5b92-2066-4fce-bea6-1e08b58642ab","workspaceID":"8e0bbcdf-a926-4670-8c40-b718f035b2ae","workspaceType":"prebuild"},"annotations":{"cni.projectcalico.org/podIP":"10.60.61.170/32","container.apparmor.security.beta.kubernetes.io/workspace":"unconfined","gitpod.io/requiredNodeServices":"ws-daemon,registry-facade","gitpod/admission":"admit_owner_only","gitpod/contentInitializer":"[redacted]","gitpod/id":"8e0bbcdf-a926-4670-8c40-b718f035b2ae","gitpod/imageSpec":"CnRldS5nY3IuaW8vZ2l0cG9kLWNvcmUtZGV2L3JlZ2lzdHJ5L3dvcmtzcGFjZS1pbWFnZXM6ODFjNGZiNjAyYTU0MGQyNjFmMjEwY2ZjOGJhMDQzNWI2M2IyNDIzOGMxNzYyZWMwMjlkOGVkYWVjODE2YWZiNhJCZXUuZ2NyLmlvL2dpdHBvZC1jb3JlLWRldi9idWlsZC9pZGUvY29kZTpncGwtaGVhZGxlc3MtbG9nLXdzbWFuLjE3","gitpod/exposedPorts": "Cl4IuQoYASJXaHR0cHM6Ly8xMzM3LWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tCl4IuBcYASJXaHR0cHM6Ly8zMDAwLWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tCl4IuRcYASJXaHR0cHM6Ly8zMDAxLWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tCl4I6hkYASJXaHR0cHM6Ly8zMzA2LWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tCl4IoB8YASJXaHR0cHM6Ly80MDAwLWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tCl4IjC4YASJXaHR0cHM6Ly81OTAwLWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29tClwIwC8iV2h0dHBzOi8vNjA4MC1ncmVlbi13b21iYXQtNjJkem5ldWQud3MtZGV2LmdwbC1oZWFkbGVzcy1sb2ctd3NtYW4uc3RhZ2luZy5naXRwb2QtZGV2LmNvbQpeCI1IGAEiV2h0dHBzOi8vOTIyOS1ncmVlbi13b21iYXQtNjJkem5ldWQud3MtZGV2LmdwbC1oZWFkbGVzcy1sb2ctd3NtYW4uc3RhZ2luZy5naXRwb2QtZGV2LmNvbQpeCI9OGAEiV2h0dHBzOi8vOTk5OS1ncmVlbi13b21iYXQtNjJkem5ldWQud3MtZGV2LmdwbC1oZWFkbGVzcy1sb2ctd3NtYW4uc3RhZ2luZy5naXRwb2QtZGV2LmNvbQpfCMllGAEiWGh0dHBzOi8vMTMwMDEtZ3JlZW4td29tYmF0LTYyZHpuZXVkLndzLWRldi5ncGwtaGVhZGxlc3MtbG9nLXdzbWFuLnN0YWdpbmcuZ2l0cG9kLWRldi5jb20KXgjhPBgBIldodHRwczovLzc3NzctZ3JlZW4td29tYmF0LTYyZHpuZXVkLndzLWRldi5ncGwtaGVhZGxlc3MtbG9nLXdzbWFuLnN0YWdpbmcuZ2l0cG9kLWRldi5jb20KXwiEaRgBIlhodHRwczovLzEzNDQ0LWdyZWVuLXdvbWJhdC02MmR6bmV1ZC53cy1kZXYuZ3BsLWhlYWRsZXNzLWxvZy13c21hbi5zdGFnaW5nLmdpdHBvZC1kZXYuY29t","gitpod/never-ready":"true","gitpod/ownerToken":"FZ2k9zbSCo9e85Y21yh.SHLJbya7pW2Y","gitpod/servicePrefix":"green-wombat-62dzneud","gitpod/traceid":"AAAAAAAAAADk1qKpVgS8nkUB60sg2ZMPWUgTp0iuTisBAAAAAA==","gitpod/url":"https://green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","kubernetes.io/psp":"staging-gpl-headless-log-wsman-ns-workspace","seccomp.security.alpha.kubernetes.io/pod":"localhost/workspace_default_gpl-headless-log-wsman.17.json"}},"spec":{"volumes":[{"name":"vol-this-workspace","hostPath":{"path":"/mnt/disks/ssd0/workspaces/8e0bbcdf-a926-4670-8c40-b718f035b2ae","type":"DirectoryOrCreate"}},{"name":"daemon-mount","hostPath":{"path":"/mnt/disks/ssd0/workspaces/8e0bbcdf-a926-4670-8c40-b718f035b2ae-daemon","type":"DirectoryOrCreate"}}],"containers":[{"name":"workspace","image":"reg.gpl-headless-log-wsman.staging.gitpod-dev.com:30222/remote/8e0bbcdf-a926-4670-8c40-b718f035b2ae","command":["/.supervisor/workspacekit","ring0"],"ports":[{"containerPort":23000,"protocol":"TCP"}],"env":[{"name":"GITPOD_REPO_ROOT","value":"/workspace/gitpod"},{"name":"GITPOD_CLI_APITOKEN","value":"eGnGrk5s7-.KCc15tXUtyKlzwlbjOBIs"},{"name":"GITPOD_WORKSPACE_ID","value":"green-wombat-62dzneud"},{"name":"GITPOD_INSTANCE_ID","value":"8e0bbcdf-a926-4670-8c40-b718f035b2ae"},{"name":"GITPOD_THEIA_PORT","value":"23000"},{"name":"THEIA_WORKSPACE_ROOT","value":"/workspace/gitpod/gitpod-ws.code-workspace"},{"name":"GITPOD_HOST","value":"https://gpl-headless-log-wsman.staging.gitpod-dev.com"},{"name":"GITPOD_WORKSPACE_URL","value":"https://green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com"},{"name":"THEIA_SUPERVISOR_TOKEN","value":"354c0b368f2b4a93b7b812564e663d23"},{"name":"THEIA_SUPERVISOR_ENDPOINT","value":":22999"},{"name":"THEIA_WEBVIEW_EXTERNAL_ENDPOINT","value":"webview-{{hostname}}"},{"name":"THEIA_MINI_BROWSER_HOST_PATTERN","value":"browser-{{hostname}}"},{"name":"GITPOD_GIT_USER_NAME","value":"Gero Posmyk-Leinemann"},{"name":"GITPOD_GIT_USER_EMAIL","value":"gero@gitpod.io"},{"name":"PREBUILD_PARAMS","value":"[redacted]"},{"name":"GITPOD_WORKSPACE_CONTEXT_URL","value":"prebuild/https://github.com/gitpod-io/gitpod/tree/gpl/test-prebuild"},{"name":"GITPOD_WORKSPACE_CONTEXT","value":"{\"ref\":\"gpl/test-prebuild\",\"refType\":\"branch\",\"isFile\":false,\"path\":\"\",\"title\":\"gitpod-io/gitpod - gpl/test-prebuild\",\"revision\":\"a1afe2bb7d454ea7a4194f363601a31ae319ce9c\",\"repository\":{\"cloneUrl\":\"https://github.com/gitpod-io/gitpod.git\",\"host\":\"github.com\",\"name\":\"gitpod\",\"owner\":\"gitpod-io\",\"private\":false}}"},{"name":"GITPOD_TASKS","value":"[{\"name\":\"Test Command\",\"init\":\"export PREBUILD_PARAMS=${PREBUILD_PARAMS:-\\\"100_500ms_30m\\\"}; go run ./main.go $PREBUILD_PARAMS\"}]"},{"name":"THEIA_SUPERVISOR_TOKENS","value":"[{\"tokenOTS\":\"https://gpl-headless-log-wsman.staging.gitpod-dev.com/api/ots/get/71ca5ce2-b15e-4a0e-8a0f-65964c509d40\",\"token\":\"ots\",\"kind\":\"gitpod\",\"host\":\"gpl-headless-log-wsman.staging.gitpod-dev.com\",\"scope\":[\"function:getWorkspace\",\"function:getLoggedInUser\",\"function:getPortAuthenticationToken\",\"function:getWorkspaceOwner\",\"function:getWorkspaceUsers\",\"function:isWorkspaceOwner\",\"function:controlAdmission\",\"function:setWorkspaceTimeout\",\"function:getWorkspaceTimeout\",\"function:sendHeartBeat\",\"function:getOpenPorts\",\"function:openPort\",\"function:closePort\",\"function:getLayout\",\"function:generateNewGitpodToken\",\"function:takeSnapshot\",\"function:storeLayout\",\"function:stopWorkspace\",\"function:getToken\",\"function:getContentBlobUploadUrl\",\"function:getContentBlobDownloadUrl\",\"function:accessCodeSyncStorage\",\"function:guessGitTokenScopes\",\"function:getEnvVars\",\"function:setEnvVar\",\"function:deleteEnvVar\",\"resource:workspace::green-wombat-62dzneud::get/update\",\"resource:workspaceInstance::8e0bbcdf-a926-4670-8c40-b718f035b2ae::get/update/delete\",\"resource:snapshot::ws-green-wombat-62dzneud::create\",\"resource:gitpodToken::*::create\",\"resource:userStorage::*::create/get/update\",\"resource:token::*::get\",\"resource:contentBlob::*::create/get\",\"resource:envVar::gitpod-io/gitpod::create/get/update/delete\"],\"expiryDate\":\"2021-05-29T12:48:19.234Z\",\"reuse\":2}]"},{"name":"GITPOD_RESOLVED_EXTENSIONS","value":"{\"vscode.bat@1.44.2\":{\"fullPluginName\":\"vscode.bat@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.clojure@1.44.2\":{\"fullPluginName\":\"vscode.clojure@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.coffeescript@1.44.2\":{\"fullPluginName\":\"vscode.coffeescript@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.cpp@1.44.2\":{\"fullPluginName\":\"vscode.cpp@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.csharp@1.44.2\":{\"fullPluginName\":\"vscode.csharp@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"llvm-vs-code-extensions.vscode-clangd@0.1.5\":{\"fullPluginName\":\"llvm-vs-code-extensions.vscode-clangd@0.1.5\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.css@1.51.1\":{\"fullPluginName\":\"vscode.css@1.51.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.css-language-features@1.51.1\":{\"fullPluginName\":\"vscode.css-language-features@1.51.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.debug-auto-launch@1.44.2\":{\"fullPluginName\":\"vscode.debug-auto-launch@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.emmet@1.44.2\":{\"fullPluginName\":\"vscode.emmet@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.fsharp@1.44.2\":{\"fullPluginName\":\"vscode.fsharp@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.go@1.44.2\":{\"fullPluginName\":\"vscode.go@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.groovy@1.44.2\":{\"fullPluginName\":\"vscode.groovy@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.handlebars@1.44.2\":{\"fullPluginName\":\"vscode.handlebars@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.hlsl@1.44.2\":{\"fullPluginName\":\"vscode.hlsl@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.html@1.51.1\":{\"fullPluginName\":\"vscode.html@1.51.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.html-language-features@1.51.1\":{\"fullPluginName\":\"vscode.html-language-features@1.51.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.ini@1.44.2\":{\"fullPluginName\":\"vscode.ini@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.java@1.53.2\":{\"fullPluginName\":\"vscode.java@1.53.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.javascript@1.44.2\":{\"fullPluginName\":\"vscode.javascript@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.json@1.44.2\":{\"fullPluginName\":\"vscode.json@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.json-language-features@1.46.1\":{\"fullPluginName\":\"vscode.json-language-features@1.46.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.less@1.44.2\":{\"fullPluginName\":\"vscode.less@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.log@1.44.2\":{\"fullPluginName\":\"vscode.log@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.lua@1.44.2\":{\"fullPluginName\":\"vscode.lua@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.make@1.44.2\":{\"fullPluginName\":\"vscode.make@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.markdown@1.44.2\":{\"fullPluginName\":\"vscode.markdown@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.npm@1.39.1\":{\"fullPluginName\":\"vscode.npm@1.39.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.objective-c@1.44.2\":{\"fullPluginName\":\"vscode.objective-c@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.perl@1.44.2\":{\"fullPluginName\":\"vscode.perl@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.php@1.44.2\":{\"fullPluginName\":\"vscode.php@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.powershell@1.44.2\":{\"fullPluginName\":\"vscode.powershell@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.pug@1.44.2\":{\"fullPluginName\":\"vscode.pug@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.python@1.47.3\":{\"fullPluginName\":\"vscode.python@1.47.3\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.r@1.44.2\":{\"fullPluginName\":\"vscode.r@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.razor@1.44.2\":{\"fullPluginName\":\"vscode.razor@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.ruby@1.44.2\":{\"fullPluginName\":\"vscode.ruby@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.rust@1.44.2\":{\"fullPluginName\":\"vscode.rust@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.scss@1.44.2\":{\"fullPluginName\":\"vscode.scss@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.shaderlab@1.44.2\":{\"fullPluginName\":\"vscode.shaderlab@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.shellscript@1.44.2\":{\"fullPluginName\":\"vscode.shellscript@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.sql@1.44.2\":{\"fullPluginName\":\"vscode.sql@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.swift@1.44.2\":{\"fullPluginName\":\"vscode.swift@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.typescript@1.44.2\":{\"fullPluginName\":\"vscode.typescript@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.typescript-language-features@1.44.2\":{\"fullPluginName\":\"vscode.typescript-language-features@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.vb@1.44.2\":{\"fullPluginName\":\"vscode.vb@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.xml@1.44.2\":{\"fullPluginName\":\"vscode.xml@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.yaml@1.44.2\":{\"fullPluginName\":\"vscode.yaml@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"redhat.java@0.75.0\":{\"fullPluginName\":\"redhat.java@0.75.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscjava.vscode-java-debug@0.27.1\":{\"fullPluginName\":\"vscjava.vscode-java-debug@0.27.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscjava.vscode-java-dependency@0.18.0\":{\"fullPluginName\":\"vscjava.vscode-java-dependency@0.18.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"ms-vscode.node-debug@1.38.4\":{\"fullPluginName\":\"ms-vscode.node-debug@1.38.4\",\"url\":\"local\",\"kind\":\"builtin\"},\"ms-vscode.node-debug2@1.33.0\":{\"fullPluginName\":\"ms-vscode.node-debug2@1.33.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"ms-python.python@2020.7.96456\":{\"fullPluginName\":\"ms-python.python@2020.7.96456\",\"url\":\"local\",\"kind\":\"builtin\"},\"redhat.vscode-xml@0.11.0\":{\"fullPluginName\":\"redhat.vscode-xml@0.11.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"redhat.vscode-yaml@0.8.0\":{\"fullPluginName\":\"redhat.vscode-yaml@0.8.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"bmewburn.vscode-intelephense-client@1.4.0\":{\"fullPluginName\":\"bmewburn.vscode-intelephense-client@1.4.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"felixfbecker.php-debug@1.13.0\":{\"fullPluginName\":\"felixfbecker.php-debug@1.13.0\",\"url\":\"local\",\"kind\":\"builtin\"},\"rust-lang.rust@0.7.8\":{\"fullPluginName\":\"rust-lang.rust@0.7.8\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-abyss@1.44.2\":{\"fullPluginName\":\"vscode.theme-abyss@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-kimbie-dark@1.44.2\":{\"fullPluginName\":\"vscode.theme-kimbie-dark@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-monokai@1.44.2\":{\"fullPluginName\":\"vscode.theme-monokai@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-monokai-dimmed@1.44.2\":{\"fullPluginName\":\"vscode.theme-monokai-dimmed@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-quietlight@1.44.2\":{\"fullPluginName\":\"vscode.theme-quietlight@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-red@1.44.2\":{\"fullPluginName\":\"vscode.theme-red@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-solarized-dark@1.44.2\":{\"fullPluginName\":\"vscode.theme-solarized-dark@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-solarized-light@1.44.2\":{\"fullPluginName\":\"vscode.theme-solarized-light@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.theme-tomorrow-night-blue@1.44.2\":{\"fullPluginName\":\"vscode.theme-tomorrow-night-blue@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.vscode-theme-seti@1.44.2\":{\"fullPluginName\":\"vscode.vscode-theme-seti@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.merge-conflict@1.44.2\":{\"fullPluginName\":\"vscode.merge-conflict@1.44.2\",\"url\":\"local\",\"kind\":\"builtin\"},\"ms-vscode.references-view@0.0.47\":{\"fullPluginName\":\"ms-vscode.references-view@0.0.47\",\"url\":\"local\",\"kind\":\"builtin\"},\"EditorConfig.EditorConfig@0.15.1\":{\"fullPluginName\":\"editorconfig.editorconfig@0.15.1\",\"url\":\"local\",\"kind\":\"builtin\"},\"vscode.docker@1.47.3\":{\"fullPluginName\":\"vscode.docker@1.47.3\",\"url\":\"local\",\"kind\":\"builtin\"},\"ms-kubernetes-tools.vscode-kubernetes-tools\":{\"fullPluginName\":\"ms-kubernetes-tools.vscode-kubernetes-tools@1.3.3\",\"url\":\"https://open-vsx.org/api/ms-kubernetes-tools/vscode-kubernetes-tools/1.3.3/file/ms-kubernetes-tools.vscode-kubernetes-tools-1.3.3.vsix\",\"kind\":\"workspace\"},\"hashicorp.terraform\":{\"fullPluginName\":\"hashicorp.terraform@2.11.0\",\"url\":\"https://open-vsx.org/api/hashicorp/terraform/2.11.0/file/hashicorp.terraform-2.11.0.vsix\",\"kind\":\"workspace\"},\"zxh404.vscode-proto3\":{\"fullPluginName\":\"zxh404.vscode-proto3@0.5.4\",\"url\":\"https://open-vsx.org/api/zxh404/vscode-proto3/0.5.4/file/zxh404.vscode-proto3-0.5.4.vsix\",\"kind\":\"workspace\"},\"bajdzis.vscode-database\":{\"fullPluginName\":\"bajdzis.vscode-database@2.2.3\",\"url\":\"https://open-vsx.org/api/bajdzis/vscode-database/2.2.3/file/bajdzis.vscode-database-2.2.3.vsix\",\"kind\":\"workspace\"},\"stkb.rewrap\":{\"fullPluginName\":\"stkb.rewrap@1.14.0\",\"url\":\"https://open-vsx.org/api/stkb/rewrap/1.14.0/file/stkb.rewrap-1.14.0.vsix\",\"kind\":\"workspace\"},\"golang.go\":{\"fullPluginName\":\"golang.go@0.25.0\",\"url\":\"https://open-vsx.org/api/golang/Go/0.25.0/file/golang.Go-0.25.0.vsix\",\"kind\":\"workspace\"}}"},{"name":"GITPOD_EXTERNAL_EXTENSIONS","value":"[]"},{"name":"GITPOD_INTERVAL","value":"30000"},{"name":"GITPOD_MEMORY","value":"2415"},{"name":"GITPOD_HEADLESS","value":"true"}],"resources":{"limits":{"cpu":"5","memory":"12Gi"},"requests":{"cpu":"1m","ephemeral-storage":"5Gi","memory":"4608Mi"}},"volumeMounts":[{"name":"vol-this-workspace","mountPath":"/workspace","mountPropagation":"HostToContainer"},{"name":"daemon-mount","mountPath":"/.workspace","mountPropagation":"HostToContainer"}],"readinessProbe":{"httpGet":{"path":"/_supervisor/v1/status/content/wait/true","port":22999,"scheme":"HTTP"},"timeoutSeconds":1,"periodSeconds":1,"successThreshold":1,"failureThreshold":600},"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"FallbackToLogsOnError","imagePullPolicy":"Always","securityContext":{"capabilities":{"add":["AUDIT_WRITE","FSETID","KILL","NET_BIND_SERVICE","SYS_PTRACE"],"drop":["SETPCAP","CHOWN","NET_RAW","DAC_OVERRIDE","FOWNER","SYS_CHROOT","SETFCAP","SETUID","SETGID"]},"privileged":false,"runAsUser":33333,"runAsGroup":33333,"runAsNonRoot":true,"readOnlyRootFilesystem":false,"allowPrivilegeEscalation":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"None","serviceAccountName":"workspace","serviceAccount":"workspace","automountServiceAccountToken":false,"nodeName":"gke-dev-workload-1-49d27f81-pd35","securityContext":{"supplementalGroups":[1],"fsGroup":1},"imagePullSecrets":[{"name":"gcp-sa-registry-auth"}],"affinity":{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"gitpod.io/workload_workspace","operator":"Exists"}]}]}}},"tolerations":[{"key":"node.kubernetes.io/disk-pressure","operator":"Exists","effect":"NoExecute"},{"key":"node.kubernetes.io/memory-pressure","operator":"Exists","effect":"NoExecute"},{"key":"node.kubernetes.io/network-unavailable","operator":"Exists","effect":"NoExecute","tolerationSeconds":30},{"key":"node.kubernetes.io/not-ready","operator":"Exists","effect":"NoExecute","tolerationSeconds":300},{"key":"node.kubernetes.io/unreachable","operator":"Exists","effect":"NoExecute","tolerationSeconds":300}],"priority":0,"dnsConfig":{"nameservers":["1.1.1.1","8.8.8.8"]},"enableServiceLinks":false},"status":{"phase":"Pending","conditions":[{"type":"Initialized","status":"True","lastProbeTime":null,"lastTransitionTime":"2021-05-28T12:48:19Z"},{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2021-05-28T12:48:19Z","reason":"ContainersNotReady","message":"containers with unready status: [workspace]"},{"type":"ContainersReady","status":"False","lastProbeTime":null,"lastTransitionTime":"2021-05-28T12:48:19Z","reason":"ContainersNotReady","message":"containers with unready status: [workspace]"},{"type":"PodScheduled","status":"True","lastProbeTime":null,"lastTransitionTime":"2021-05-28T12:48:19Z"}],"hostIP":"10.132.15.221","startTime":"2021-05-28T12:48:19Z","containerStatuses":[{"name":"workspace","state":{"waiting":{"reason":"PodInitializing"}},"lastState":{},"ready":false,"restartCount":0,"image":"reg.gpl-headless-log-wsman.staging.gitpod-dev.com:30222/remote/8e0bbcdf-a926-4670-8c40-b718f035b2ae","imageID":"","started":false}],"qosClass":"Burstable"}},"theiaService":{"kind":"Service","apiVersion":"v1","metadata":{"name":"ws-green-wombat-62dzneud-theia","namespace":"staging-gpl-headless-log-wsman","selfLink":"/api/v1/namespaces/staging-gpl-headless-log-wsman/services/ws-green-wombat-62dzneud-theia","uid":"67227f06-91de-44d4-83fe-0911cc6e3601","resourceVersion":"198743318","creationTimestamp":"2021-05-28T12:48:19Z","labels":{"app":"gitpod","component":"workspace","gpwsman":"true","headless":"true","metaID":"green-wombat-62dzneud","owner":"d98c5b92-2066-4fce-bea6-1e08b58642ab","workspaceID":"8e0bbcdf-a926-4670-8c40-b718f035b2ae","workspaceType":"prebuild"}},"spec":{"ports":[{"name":"ide","protocol":"TCP","port":23000,"targetPort":23000},{"name":"supervisor","protocol":"TCP","port":22999,"targetPort":22999}],"selector":{"app":"gitpod","component":"workspace","gpwsman":"true","headless":"true","metaID":"green-wombat-62dzneud","owner":"d98c5b92-2066-4fce-bea6-1e08b58642ab","workspaceID":"8e0bbcdf-a926-4670-8c40-b718f035b2ae","workspaceType":"prebuild"},"clusterIP":"10.63.250.40","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},"portsService":{"kind":"Service","apiVersion":"v1","metadata":{"name":"ws-green-wombat-62dzneud-ports","namespace":"staging-gpl-headless-log-wsman","selfLink":"/api/v1/namespaces/staging-gpl-headless-log-wsman/services/ws-green-wombat-62dzneud-ports","uid":"1ebcfc6e-15c3-415e-9de5-6c7adc47d1a7","resourceVersion":"198743322","creationTimestamp":"2021-05-28T12:48:19Z","labels":{"gpwsman":"true","metaID":"green-wombat-62dzneud","serviceType":"ports","workspaceID":"8e0bbcdf-a926-4670-8c40-b718f035b2ae"},"annotations":{"gitpod/port-url-13001":"https://13001-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-1337":"https://1337-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-13444":"https://13444-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-3000":"https://3000-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-3001":"https://3001-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-3306":"https://3306-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-4000":"https://4000-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-5900":"https://5900-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-6080":"https://6080-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-7777":"https://7777-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-9229":"https://9229-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com","gitpod/port-url-9999":"https://9999-green-wombat-62dzneud.ws-dev.gpl-headless-log-wsman.staging.gitpod-dev.com"}},"spec":{"ports":[{"name":"p1337-public","protocol":"TCP","port":1337,"targetPort":1337},{"name":"p3000-public","protocol":"TCP","port":3000,"targetPort":3000},{"name":"p3001-public","protocol":"TCP","port":3001,"targetPort":3001},{"name":"p3306-public","protocol":"TCP","port":3306,"targetPort":3306},{"name":"p4000-public","protocol":"TCP","port":4000,"targetPort":4000},{"name":"p5900-public","protocol":"TCP","port":5900,"targetPort":5900},{"name":"p6080-private","protocol":"TCP","port":6080,"targetPort":6080},{"name":"p9229-public","protocol":"TCP","port":9229,"targetPort":9229},{"name":"p9999-public","protocol":"TCP","port":9999,"targetPort":9999},{"name":"p13001-public","protocol":"TCP","port":13001,"targetPort":13001},{"name":"p7777-public","protocol":"TCP","port":7777,"targetPort":7777},{"name":"p13444-public","protocol":"TCP","port":13444,"targetPort":13444}],"selector":{"gpwsman":"true","workspaceID":"8e0bbcdf-a926-4670-8c40-b718f035b2ae"},"clusterIP":"10.63.243.155","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},"events":[{"metadata":{"name":"prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae - scheduled2zrpp","generateName":"prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae - scheduled","namespace":"staging-gpl-headless-log-wsman","selfLink":"/api/v1/namespaces/staging-gpl-headless-log-wsman/events/prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae%20-%20scheduled2zrpp","uid":"e983c42a-b04a-48b6-b214-4fe60281b6ae","resourceVersion":"12819729","creationTimestamp":"2021-05-28T12:48:19Z"},"involvedObject":{"kind":"Pod","namespace":"staging-gpl-headless-log-wsman","name":"prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae","uid":"bde1c8ff-8a05-43b6-a2ce-2f88e32dbe1e"},"reason":"Scheduled","message":"Placed pod [staging-gpl-headless-log-wsman/prebuild-8e0bbcdf-a926-4670-8c40-b718f035b2ae] on gke-dev-workload-1-49d27f81-pd35\n","source":{"component":"workspace-scheduler"},"firstTimestamp":"2021-05-28T12:48:19Z","lastTimestamp":"2021-05-28T12:48:19Z","count":1,"type":"Normal","eventTime":null,"reportingComponent":"","reportingInstance":""}]}