I am trying to run skaffold debug mode but it fails with port-forwarding failure. I am using latest Cloud code plugin and a sample java application, mvn is builder used, Intellij version 19.x.x
Should be able to put breakpoints in live application
Not able to put breakpoints
apiVersion: skaffold/v1beta11
kind: Config
build:
artifacts:
- image: ....../kube/test/jserver
jibMaven:
args: ["-f", "java-hello-world/pom.xml"]
context: .
# defines the Kubernetes manifests to deploy on each run
deploy:
kubectl:
manifests:
- C:\Users\prashant\cloud-code-samples-master\java\java-hello-world\kubernetes-manifests\hello.deployment.yaml
deployment yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: simplehttp
namespace: 103000-pra-dev
spec:
selector:
matchLabels:
app: simplehttp
replicas: 1
template:
metadata:
labels:
app: simplehttp
spec:
containers:
- name: simplehttp
image: ......kube/test/jserver:latest
ports:
- containerPort: 8080
env:
- name: PORT
value: "8080"
securityContext:
runAsUser: 199
imagePullSecrets:
- name: regcred
---
apiVersion: v1
kind: Service
metadata:
name: simplehttp
namespace: ns-pra-dev
labels:
app: simplehttp
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
name: http
selector:
app: simplehttp
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
generation: 1
labels:
app: simplehttp
name: skaffold-example-ingress
namespace: ns-pra-dev
resourceVersion: "14651061"
spec:
rules:
- host: skaffold-example1.apps.net
http:
paths:
- backend:
serviceName: simplehttp
servicePort: 8080
path: /
tls:
- hosts:
- skaffold-example1.apps.net
status:
loadBalancer:
ingress:
- {}
Error logs with latest skaffold 36, I don't have docker on my system.
Command invoked by k8s continous deploy
C:\Users\prashant\go\src\github.com\GoogleContainerTools\skaffold.exe debug --filename java-hello-world/skaffold.yaml --label ide=idea --label ideVersion=2019.1.3.0.0 --label ijPluginVersion=unknown --port-forward=true
Build complete in 31.3071002s
Starting test...
Test complete in 0s
time="2019-08-18T18:46:39+05:30" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
time="2019-08-18T18:46:39+05:30" level=fatal msg="exiting dev mode because first build failed: adding artifacts to cache: inspecting image: error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/images/...../..../kube/test/jserver:dirty@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running."
Thank you for filing @prary - we should look into this asap and try to reproduce on Windows. Can you try running with --cache-artifacts=false - we might have the bug there.
I was able to reproduce on Windows. This seems to be a byproduct of #2621 that enables Skaffold's artifact caching by default. Running with --cache-artifacts=false (or setting environment SKAFFOLD_CACHE_ARTIFACTS=false`) should work around the issue.
(Oops, missed @balopat's reply)
Hi @briandealwis @balopat i didn't get the docker deamon error but port fawording failed
Here is kubectl describe -f hello.deployment.yaml
Name: simplehttp
Namespace: 103000-pra-dev
CreationTimestamp: Tue, 20 Aug 2019 15:18:30 +0000
Labels: app.kubernetes.io/managed-by=skaffold-unknown
ide=idea
ideVersion=2019.1.3.0.0
ijPluginVersion=unknown
skaffold.dev/builder=local
skaffold.dev/cleanup=true
skaffold.dev/deployer=kubectl
skaffold.dev/tag-policy=git-commit
skaffold.dev/tail=true
Annotations: deployment.kubernetes.io/revision=1
kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"creationTimestamp":null,"labels":{"app.kubernetes.io/managed-by":"skaffold-un...
Selector: app=simplehttp
Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app=simplehttp
app.kubernetes.io/managed-by=skaffold-unknown
ide=idea
ideVersion=2019.1.3.0.0
ijPluginVersion=unknown
skaffold.dev/builder=local
skaffold.dev/cleanup=true
skaffold.dev/deployer=kubectl
skaffold.dev/tag-policy=git-commit
skaffold.dev/tail=true
Annotations: debug.cloud.google.com/config={"simplehttp":{"jdwp":5005,"runtime":"jvm"}}
Containers:
simplehttp:
Image: containerimages-na.xxxx.net/.../kube/test/jserver:dirty@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877
Ports: 8080/TCP, 5005/TCP
Host Ports: 0/TCP, 0/TCP
Environment:
PORT: 8080
JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,address=5005,suspend=n,quiet=y
Mounts: <none>
Volumes: <none>
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing True NewReplicaSetAvailable
OldReplicaSets: <none>
NewReplicaSet: simplehttp-6999f4c87f (1/1 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 12m deployment-controller Scaled up replica set simplehttp-6999f4c87f to 1
Name: simplehttp
Namespace: 103000-pra-dev
Labels: app=simplehttp
app.kubernetes.io/managed-by=skaffold-unknown
ide=idea
ideVersion=2019.1.3.0.0
ijPluginVersion=unknown
skaffold.dev/builder=local
skaffold.dev/cleanup=true
skaffold.dev/deployer=kubectl
skaffold.dev/tag-policy=git-commit
skaffold.dev/tail=true
Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"simplehttp","app.kubernetes.io/managed-by":"skaffold-unknown","ide":"...
Selector: app=simplehttp
Type: ClusterIP
IP: 169.72.149.36
Port: http 80/TCP
TargetPort: 8080/TCP
Endpoints: 169.72.112.151:8080
Session Affinity: None
Events: <none>
Name: skaffold-example-ingress
Namespace: 103000-pra-dev
Address:
Default backend: default-http-backend:80 (<none>)
TLS:
SNI routes skaffold-example1.apps.....belv.gkp.xxxx.net
Rules:
Host Path Backends
---- ---- --------
skaffold-example1.apps.....belv.gkp.xxxx.net
/ simplehttp:8080 (<none>)
Annotations:
ingress.kubernetes.io/force-ssl-redirect: true
ingress.kubernetes.io/ssl-redirect: true
kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"extensions/v1beta1","kind":"Ingress","metadata":{"annotations":{"ingress.kubernetes.io/ssl-redirect":"true","nginx.ingress.kubernetes.io/ssl-redirect":"true"},"creationTimestamp":"2018-11-05T10:41:19Z","generation":1,"labels":{"app":"simplehttp","app.kubernetes.io/managed-by":"skaffold-unknown","ide":"idea","ideVersion":"2019.1.3.0.0","ijPluginVersion":"unknown","skaffold.dev/builder":"local","skaffold.dev/cleanup":"true","skaffold.dev/deployer":"kubectl","skaffold.dev/tag-policy":"git-commit","skaffold.dev/tail":"true"},"name":"skaffold-example-ingress","namespace":"103000-pra-dev","resourceVersion":"14651061","selfLink":"/apis/extensions/v1beta1/namespaces/103000-elves/ingresses/skaffold-example-ingress","uid":"54698fa9-e0e7-11e8-ad52-6a1aa97f2964"},"spec":{"rules":[{"host":"skaffold-example1.apps.....belv.gkp.xxxx.net","http":{"paths":[{"backend":{"serviceName":"simplehttp","servicePort":8080},"path":"/"}]}}],"tls":[{"hosts":["skaffold-example1.apps.....belv.gkp.xxxx.net"]}]},"status":{"loadBalancer":{"ingress":[{}]}}}
nginx.ingress.kubernetes.io/ssl-redirect: true
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal CREATE 12m nginx-ingress-controller Ingress 103000-pra-dev/skaffold-example-ingress
Normal CREATE 12m nginx-ingress-controller Ingress 103000-pra-dev/skaffold-example-ingress
output of kubectl get pod/........ -o yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
debug.cloud.google.com/config: '{"simplehttp":{"jdwp":5005,"runtime":"jvm"}}'
kubernetes.io/limit-ranger: 'LimitRanger plugin set: cpu, memory request for container
simplehttp; cpu, memory limit for container simplehttp'
kubernetes.io/psp: nonroot
creationTimestamp: 2019-08-20T15:18:30Z
generateName: simplehttp-6999f4c87f-
labels:
app: simplehttp
app.kubernetes.io/managed-by: skaffold-unknown
ide: idea
ideVersion: 2019.1.3.0.0
ijPluginVersion: unknown
pod-template-hash: 6999f4c87f
skaffold.dev/builder: local
skaffold.dev/cleanup: "true"
skaffold.dev/deployer: kubectl
skaffold.dev/tag-policy: git-commit
skaffold.dev/tail: "true"
name: simplehttp-6999f4c87f-kds4q
namespace: 103000-pra-dev
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: simplehttp-6999f4c87f
uid: c479a7cb-c35d-11e9-bcda-001c14265fd8
resourceVersion: "67816814"
selfLink: /api/v1/namespaces/103000-pra-dev/pods/simplehttp-6999f4c87f-kds4q
uid: c47f2690-c35d-11e9-bcda-001c14265fd8
spec:
containers:
- env:
- name: PORT
value: "8080"
- name: JAVA_TOOL_OPTIONS
value: -agentlib:jdwp=transport=dt_socket,server=y,address=5005,suspend=n,quiet=y
image: ....e/test/jserver:dirty@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877
imagePullPolicy: IfNotPresent
name: simplehttp
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 5005
name: jdwp
protocol: TCP
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 200m
memory: 128Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
procMount: Default
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-xhmp8
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
imagePullSecrets:
- name: regcred
nodeName: ....
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
runAsUser: 199
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: default-token-xhmp8
secret:
defaultMode: 420
secretName: default-token-xhmp8
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2019-08-20T15:18:30Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2019-08-20T15:18:37Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2019-08-20T15:18:37Z
status: "True"
type: ContainersReady
- lastProbeTime: null
lastTransitionTime: 2019-08-20T15:18:30Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://eca9cb370a2d0c1dab9abd3ca654ed4d91fe951150f9c75e88b10258325d3950
image: ....e/test/jserver@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877
imageID: docker-pullable://....e/test/jserver@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877
lastState: {}
name: simplehttp
ready: true
restartCount: 0
state:
running:
startedAt: 2019-08-20T15:18:37Z
hostIP: 169.90.80.70
phase: Running
podIP: 169.72.112.151
qosClass: Burstable
startTime: 2019-08-20T15:18:30Z
鈫怺34mStarting deploy...鈫怺0m
time="2019-08-20T20:11:51+05:30" level=debug msg="Running command: [kubectl version --client -ojson]"
time="2019-08-20T20:12:01+05:30" level=debug msg="Command output: [{\n \"clientVersion\": {\n \"major\": \"1\",\n \"minor\": \"13\",\n \"gitVersion\": \"v1
.13.5\",\n \"gitCommit\": \"2166946f41b36dea2c4626f90a77706f426cdea2\",\n \"gitTreeState\": \"clean\",\n \"buildDate\": \"2019-03-25T15:26:52Z\",\n \"goV
ersion\": \"go1.11.5\",\n \"compiler\": \"gc\",\n \"platform\": \"windows/amd64\"\n }\n}\n]"
鈫怺34mkubectl client version: 1.13鈫怺0m
time="2019-08-20T20:12:01+05:30" level=debug msg="Running command: [kubectl --context api...../....@.... create --d
ry-run -oyaml -f C:\\Users\\....\\cloud-code-samples-master\\java\\java-hello-world\\kubernetes-manifests\\hello.deployment.yaml]"
time="2019-08-20T20:30:45+05:30" level=debug msg="Command output: [apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103000-pra-dev\
nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec:\n con
tainers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ..../test/jserver:latest\n
name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 19
9\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n po
rt: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingr
ess.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n l
abels:\n app: simplehttp\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/nam
espaces/..../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: skaffold-example1.apps.mt-d3.belv.gk
....\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n -
....\nstatus:\n loadBalancer:\n ingress:\n - {}\n]"
time="2019-08-20T20:30:45+05:30" level=debug msg="manifests apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\
n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec:\n containers
:\n - env:\n - name: PORT\n value: \"8080\"\n image: ..../test/jserver:latest\n
name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\
napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n port
: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\n---\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n i
ngress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n
labels:\n app: simplehttp\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/
namespaces/..../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: skaffold-example1.apps.mt-d3.belv
.gk....\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n
- ....\nstatus:\n loadBalancer:\n ingress:\n - {}"
time="2019-08-20T20:30:45+05:30" level=debug msg="manifests with tagged images apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103
000-pra-dev\nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec
:\n containers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ..../test/jserv
er:dirty@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n imag
ePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n
name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n port: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simple
http\n---\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.i
o/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n labels:\n app: simplehttp\n name: skaffold-example-ingress\n namespa
ce: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/namespaces/..../ingresses/skaffold-example-ingress\n uid: 54698fa9
-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: ....\n http:\n paths:\n - backend:\n ser
viceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n - ....\nstatus:\n loadBala
ncer:\n ingress:\n - {}"
time="2019-08-20T20:30:45+05:30" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
time="2019-08-20T20:30:45+05:30" level=debug msg="manifests with labels apiVersion: apps/v1\nkind: Deployment\nmetadata:\n labels:\n app.kubernetes.io/managed-by
: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.dev/cleanup: \"true\"\n
skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n
replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n app.kubernetes.io/ma
naged-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaff
old.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n spec:\n
containers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ..../test/jserver:dirty
@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSec
rets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n app.
kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.
dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n namespace:
103000-pra-dev\nspec:\n ports:\n - name: http\n port: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\n---\napiVersion: extension
s/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n crea
tionTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n labels:\n app: simplehttp\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideV
ersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaf
fold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n s
elfLink: /apis/extensions/v1beta1/namespaces/..../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host:
....\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n
path: /\n tls:\n - hosts:\n - ....\nstatus:\n loadBalancer:\n ingress:\n - {}"
time="2019-08-20T20:30:45+05:30" level=debug msg="Found artifact for image \"..../test/jserver:dirty@sha256:b7bf6c4
239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\""
time="2019-08-20T20:30:45+05:30" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
time="2019-08-20T20:30:49+05:30" level=debug msg="Retrieved local image configuration for ..../test/jserver:dirty@s
ha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877: {false false false [] <nil> [java -cp /app/resources:/app/classes:/app/libs/* cloudcode.hell
oworld.HelloWorldApplication] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/
bin JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk JAVA_VERSION=8u191 JAVA_ALPINE_VERSION=8.191.12-r0 LANG=C.UTF-8] map[] [] false false false map[] map[] false false
[]}"
time="2019-08-20T20:30:49+05:30" level=info msg="Configuring \"simplehttp\" for JVM debugging"
time="2019-08-20T20:30:49+05:30" level=debug msg="Applied debugging transform:\n apiVersion: apps/v1\nkind: Deployment\nmetadata:\n creationTimestamp: null\n label
s:\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n
skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n
namespace: 103000-pra-dev\nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n strategy: {}\n template:\n metadata:\n annotation
s:\n debug.cloud.google.com/config: '{\"simplehttp\":{\"jdwp\":5005,\"runtime\":\"jvm\"}}'\n creationTimestamp: null\n labels:\n app: simpleh
ttp\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.
dev/builder: local\n skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev
/tail: \"true\"\n spec:\n containers:\n - env:\n - name: PORT\n value: \"8080\"\n - name: JAVA_TOOL_OPTIONS\n value: -ag
entlib:jdwp=transport=dt_socket,server=y,address=5005,suspend=n,quiet=y\n image: ..../test/jserver:dirty@sha
256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n - containerPor
t: 5005\n name: jdwp\n resources: {}\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\nstatus: {}\n"
time="2019-08-20T20:30:49+05:30" level=debug msg="no debug transformation for: service/simplehttp"
time="2019-08-20T20:30:49+05:30" level=debug msg="no debug transformation for: ingress.extensions/skaffold-example-ingress"
time="2019-08-20T20:30:49+05:30" level=debug msg="3 manifests to deploy. 3 are updated or new"
time="2019-08-20T20:30:49+05:30" level=debug msg="Running command: [kubectl --context api...../....@.... apply -f -
--force]"
deployment.apps/simplehttp created
service/simplehttp created
ingress.extensions/skaffold-example-ingress created
鈫怺34mDeploy complete in 36m43.486s鈫怺0m
time="2019-08-20T20:48:40+05:30" level=debug msg="Change detected <nil>"
鈫怺33mWatching for changes...鈫怺0m
time="2019-08-20T20:48:48+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:48:54+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:02+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:13+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:19+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:20+05:30" level=info msg="Stream logs from pod: simplehttp-6999f4c87f-kds4q container: simplehttp"
time="2019-08-20T20:49:20+05:30" level=debug msg="Running command: [kubectl logs --since=2250s -f simplehttp-6999f4c87f-kds4q -c simplehttp --namespace 103000-pra-de
v]"
time="2019-08-20T20:49:27+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:35+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:40+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:49:43+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:47+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:49:50+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-20T20:49:54+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:49:58+05:30" level=warning msg="Unable to port forward service/simplehttp: timed out waiting for the condition"
time="2019-08-20T20:50:02+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:10+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:19+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:26+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:35+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:42+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-20T20:50:50+05:30" level=warning msg="port forwarding pod failed: timed out waiting for the condition"
time="2019-08-20T20:51:19+05:30" level=debug msg="Change detected notify.Create: \"C:\\Users\\prashant\\cloud-code-samples-master\\java\\.idea\\workspace.xml___jb_tmp
___\""
time="2019-08-20T20:51:19+05:30" level=debug msg="Change detected notify.Write: \"C:\\Users\\prashant\\cloud-code-samples-master\\java\\.idea\\workspace.xml___jb_tmp_
__\""
Kubectl version through skaffold
time="2019-08-20T20:11:51+05:30" level=debug msg="Running command: [kubectl version --client -ojson]"
time="2019-08-20T20:12:01+05:30" level=debug msg="Command output: [{\n \"clientVersion\": {\n \"major\": \"1\",\n \"minor\": \"13\",\n \"gitVersion\": \"v1
.13.5\",\n \"gitCommit\": \"2166946f41b36dea2c4626f90a77706f426cdea2\",\n \"gitTreeState\": \"clean\",\n \"buildDate\": \"2019-03-25T15:26:52Z\",\n \"goV
ersion\": \"go1.11.5\",\n \"compiler\": \"gc\",\n \"platform\": \"windows/amd64\"\n }\n}\n]"
Kubectl version through terminal
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.5", GitCommit:"2166946f41b36dea2c4626f90a77706f426cdea2", GitTreeState:"clean", BuildDate:"2019
-03-25T15:26:52Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3+vmware.1", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildD
ate:"2019-06-06T17:34:53Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Hi @briandealwis
Logs with trace mode enabled, best thing is port forwarding is enabled even after failure message.
C:\Users\prashant\cloud-code-samples-master\java>C:\Users\prashant\go\src\github.com\GoogleContainerTools\skaffold.exe debug --filename java-hello-world/skaffold.yaml
--label ide=idea --label ideVersion=2019.1.3.0.0 --label ijPluginVersion=unknown --port-forward=true -v=trace
time="2019-08-21T14:13:40+05:30" level=info msg="Skaffold &{Version: ConfigVersion:skaffold/v1beta13 GitVersion: GitCommit: GitTreeState: BuildDate: GoVersion:go1.11
.1 Compiler:gc Platform:windows/amd64}"
time="2019-08-21T14:13:40+05:30" level=debug msg="config version (skaffold/v1beta11) out of date: upgrading to latest (skaffold/v1beta13)"
time="2019-08-21T14:13:40+05:30" level=debug msg="Defaulting build type to local build"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct SkaffoldConfig"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct Metadata"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct Pipeline"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct BuildConfig"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct Artifact"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct ArtifactType"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct JibMavenArtifact"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct TagPolicy"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct GitTagger"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct BuildType"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct LocalBuild"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct DeployConfig"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct DeployType"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct KubectlDeploy"
time="2019-08-21T14:13:40+05:30" level=debug msg="validating yamltags of struct KubectlFlags"
time="2019-08-21T14:13:42+05:30" level=info msg="Using kubectl context: ...../....."
time="2019-08-21T14:13:42+05:30" level=info msg="no config entry found for kube-context ...../....."
time="2019-08-21T14:13:42+05:30" level=info msg="no config entry found for kube-context ...../....."
time="2019-08-21T14:13:42+05:30" level=debug msg="Using builder: local"
time="2019-08-21T14:13:42+05:30" level=debug msg="setting Docker user agent to skaffold-"
time="2019-08-21T14:13:42+05:30" level=info msg="no config entry found for kube-context ...../....."
time="2019-08-21T14:13:42+05:30" level=debug msg="push value not present, defaulting to true because localCluster is false"
鈫怺34mGenerating tags...鈫怺0m
鈫怺34m - ...../test/jserver -> 鈫怺0mtime="2019-08-21T14:13:42+05:30" level=debug msg="Running command: [git describe -
-tags --always]"
time="2019-08-21T14:13:43+05:30" level=warning msg="Unable to find git commit: Running [git describe --tags --always]: stdout , stderr: fatal: Not a git repository (
or any parent up to mount point /cygdrive/c)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n, err: exit status 128: exit status 128"
...../test/jserver:dirty
鈫怺34mTags generated in 606ms鈫怺0m
鈫怺34mStarting build...鈫怺0m
鈫怺34mBuilding [...../test/jserver]...
鈫怺0mtime="2019-08-21T14:13:43+05:30" level=info msg="Building .: \\3.6.0\\bin\\mvn.cmd, [mvn -Djib.console=plain jib:_skaffold-fail-if-jib-out-
of-date -Djib.requiredVersion=1.4.0 -f java-hello-world/pom.xml --non-recursive prepare-package jib:build -Dimage=...../container-sandbox/k
ube/test/jserver:dirty]"
time="2019-08-21T14:13:43+05:30" level=debug msg="Running command: [mvn -Djib.console=plain jib:_skaffold-fail-if-jib-out-of-date -Djib.requiredVersion=1.4.0 -f java
-hello-world/pom.xml --non-recursive prepare-package jib:build -Dimage=...../test/jserver:dirty]"
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.springframework.boot:hello-world >----------------
[INFO] Building Cloud Code Hello World 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jib-maven-plugin:1.4.0:_skaffold-fail-if-jib-out-of-date (default-cli) @ hello-world ---
[INFO]
[INFO] ----------------< org.springframework.boot:hello-world >----------------
[INFO] Building Cloud Code Hello World 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ hello-world ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hello-world ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ hello-world ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\prashant\cloud-code-samples-master\java\java-hello-world\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ hello-world ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.1:test (default-test) @ hello-world ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running cloudcode.helloworld.SampleJettyApplicationTests
14:13:56.320 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class cloudcode.hellowor
ld.SampleJettyApplicationTests]
14:13:56.331 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.contex
t.cache.DefaultCacheAwareContextLoaderDelegate]
14:13:56.353 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context
.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
14:13:56.394 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [cloudcode.helloworld.SampleJettyApp
licationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
14:13:56.426 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test
class [cloudcode.helloworld.SampleJettyApplicationTests], using SpringBootContextLoader
14:13:56.431 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]: class path resource [cloudcode/helloworld/SampleJettyApplicationTests-context.xml] does not exist
14:13:56.432 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]: class path resource [cloudcode/helloworld/SampleJettyApplicationTestsContext.groovy] does not exist
14:13:56.432 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [cloudcode.hello
world.SampleJettyApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
14:13:56.434 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class
[cloudcode.helloworld.SampleJettyApplicationTests]: SampleJettyApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @C
onfiguration.
14:13:56.554 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.spri
ngframework.test.context.ActiveProfiles] and class [cloudcode.helloworld.SampleJettyApplicationTests]
14:13:56.785 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\O
705858\cloud-code-samples-master\java\java-hello-world\target\classes\cloudcode\helloworld\HelloWorldApplication.class]
14:13:56.797 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration cloudcode.helloworld.HelloWorldAppl
ication for test class cloudcode.helloworld.SampleJettyApplicationTests
14:13:57.022 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [cloudcode.hello
world.SampleJettyApplicationTests]: using defaults.
14:13:57.024 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [ME
TA-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutio
nListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestService
ServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.te
st.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.supp
ort.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.conte
xt.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdb
c.SqlScriptsTestExecutionListener]
14:13:57.065 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.tes
t.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their
required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
14:13:57.066 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.tes
t.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required
dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
14:13:57.067 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.we
b.ServletTestExecutionListener@3febb011, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@10e31a9a, org.springframework.boot.t
est.mock.mockito.MockitoTestExecutionListener@131774fe, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@158d2680, org.
springframework.test.context.support.DirtiesContextTestExecutionListener@77847718, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@7f3b84b
8, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@57a3af25, org.springframework.boot.test.autoconfigure.web.client.MockRestServic
eServerResetTestExecutionListener@2b662a77, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7f0eb4b4, org.spri
ngframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@5c33f1a9]
14:13:57.069 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]
14:13:57.071 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.System
ProfileValueSource] for class [cloudcode.helloworld.SampleJettyApplicationTests]
14:13:57.073 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]
14:13:57.074 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.System
ProfileValueSource] for class [cloudcode.helloworld.SampleJettyApplicationTests]
14:13:57.075 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]
14:13:57.076 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.System
ProfileValueSource] for class [cloudcode.helloworld.SampleJettyApplicationTests]
14:13:57.083 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@351d0
0c0 testClass = SampleJettyApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfig
uration@2a3b5b47 testClass = SampleJettyApplicationTests, locations = '{}', classes = '{class cloudcode.helloworld.HelloWorldApplication}', contextInitializerClasses
= '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=
true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@e720b71, org.springframework.boot.test.js
on.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@74ad1f1f, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0,
org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@13eb8acf, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCus
tomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@544a2ea6], resourceBasePath = 'src/main/webapp', cont
extLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExec
utionListener.activateListener' -> false]], class annotated with @DirtiesContext [false] with mode [null].
14:13:57.084 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cloudcode.hellowo
rld.SampleJettyApplicationTests]
14:13:57.084 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.System
ProfileValueSource] for class [cloudcode.helloworld.SampleJettyApplicationTests]
14:13:57.093 [main] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[Defa
ultTestContext@351d00c0 testClass = SampleJettyApplicationTests, testInstance = cloudcode.helloworld.SampleJettyApplicationTests@692f203f, testMethod = [null], testE
xception = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2a3b5b47 testClass = SampleJettyApplicationTests, locations = '{}', classes = '{class
cloudcode.helloworld.HelloWorldApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{o
rg.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.context.filter.E
xcludeFilterContextCustomizer@e720b71, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@74ad1f1f,
org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@13eb8acf, org.sprin
gframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerF
actory$Customizer@544a2ea6], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]],
attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]]].
14:13:57.146 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org
.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.4.RELEASE)
2019-08-21 14:13:57.680 INFO 3764 --- [ main] c.h.SampleJettyApplicationTests : Starting SampleJettyApplicationTests on L5XTLJR2 with PID 3764 (s
tarted by prashant in C:\Users\prashant\cloud-code-samples-master\java\java-hello-world)
2019-08-21 14:13:57.681 INFO 3764 --- [ main] c.h.SampleJettyApplicationTests : No active profile set, falling back to default profiles: default
2019-08-21 14:13:59.343 INFO 3764 --- [ main] org.eclipse.jetty.util.log : Logging initialized @4293ms to org.eclipse.jetty.util.log.Slf4jLo
g
2019-08-21 14:14:00.100 INFO 3764 --- [ main] o.s.b.w.e.j.JettyServletWebServerFactory : Server initialized with port: 0
2019-08-21 14:14:00.105 INFO 3764 --- [ main] org.eclipse.jetty.server.Server : jetty-9.4.15.v20190215; built: 2019-02-15T16:53:49.381Z; git: eb7
0b240169fcf1abbd86af36482d1c49826fa0b; jvm 1.8.0_181-b25
2019-08-21 14:14:00.175 INFO 3764 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring embedded WebApplicationContext
2019-08-21 14:14:00.175 INFO 3764 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2441 ms
2019-08-21 14:14:00.464 INFO 3764 --- [ main] org.eclipse.jetty.server.session : DefaultSessionIdManager workerName=node0
2019-08-21 14:14:00.464 INFO 3764 --- [ main] org.eclipse.jetty.server.session : No SessionScavenger set, using defaults
2019-08-21 14:14:00.465 INFO 3764 --- [ main] org.eclipse.jetty.server.session : node0 Scavenging every 600000ms
2019-08-21 14:14:00.476 INFO 3764 --- [ main] o.e.jetty.server.handler.ContextHandler : Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@7b22ec89{applicati
on,/,[file:///C:/Users/prashant/AppData/Local/Temp/jetty-docbase.7523584139038072251.0/],AVAILABLE}
2019-08-21 14:14:00.476 INFO 3764 --- [ main] org.eclipse.jetty.server.Server : Started @5428ms
2019-08-21 14:14:00.865 INFO 3764 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-08-21 14:14:01.304 INFO 3764 --- [ main] o.e.j.s.h.ContextHandler.application : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-08-21 14:14:01.305 INFO 3764 --- [ main] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-08-21 14:14:01.329 time="2019-08-21T14:14:01+05:30" level=info msg="update check failed: get latest and current Skaffold version: getting latest version info fr
om GCS: Get https://storage.googleapis.com/skaffold/releases/latest/VERSION: dial tcp 216.58.197.80:443: connectex: A connection attempt failed because the connected
party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
INFO 3764 --- [ main] o.s.web.servlet.DispatcherServlet : Completed initialization in 24 ms
2019-08-21 14:14:01.394 INFO 3764 --- [ main] o.e.jetty.server.AbstractConnector : Started ServerConnector@65bb9029{HTTP/1.1,[http/1.1]}{0.0.0.0:563
79}
2019-08-21 14:14:01.399 INFO 3764 --- [ main] o.s.b.web.embedded.jetty.JettyWebServer : Jetty started on port(s) 56379 (http/1.1) with context path '/'
2019-08-21 14:14:01.403 INFO 3764 --- [ main] c.h.SampleJettyApplicationTests : Started SampleJettyApplicationTests in 4.253 seconds (JVM running
for 6.354)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.096 s - in cloudcode.helloworld.SampleJettyApplicationTests
2019-08-21 14:14:02.148 INFO 3764 --- [ Thread-11] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
2019-08-21 14:14:02.164 INFO 3764 --- [ Thread-11] o.e.jetty.server.AbstractConnector : Stopped ServerConnector@65bb9029{HTTP/1.1,[http/1.1]}{0.0.0.0:0}
2019-08-21 14:14:02.165 INFO 3764 --- [ Thread-11] org.eclipse.jetty.server.session : node0 Stopped scavenging
2019-08-21 14:14:02.168 INFO 3764 --- [ Thread-11] o.e.j.s.h.ContextHandler.application : Destroying Spring FrameworkServlet 'dispatcherServlet'
2019-08-21 14:14:02.169 INFO 3764 --- [ Thread-11] o.e.jetty.server.handler.ContextHandler : Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@7b22ec89{applicati
on,/,[file:///C:/Users/prashant/AppData/Local/Temp/jetty-docbase.7523584139038072251.0/],UNAVAILABLE}
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jib-maven-plugin:1.4.0:build (default-cli) @ hello-world ---
[INFO]
[INFO] Containerizing application to ...../test/jserver:dirty...
[INFO] Getting base image ...../test/openjdk:8-jdk-alpine...
[INFO] Building dependencies layer...
[INFO] Building resources layer...
[INFO] Building classes layer...
[INFO] Retrieving registry credentials for ........
[INFO] The base image requires auth. Trying again for ...../test/openjdk:8-jdk-alpine...
[INFO] Retrieving registry credentials for ........
[INFO]
[INFO] Container entrypoint set to [java, -cp, /app/resources:/app/classes:/app/libs/*, cloudcode.helloworld.HelloWorldApplication]
[INFO]
[INFO] Built and pushed image as ...../test/jserver:dirty
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.342 s
[INFO] Finished at: 2019-08-21T14:14:12+05:30
[INFO] ------------------------------------------------------------------------
鈫怺34mBuild complete in 33.046s鈫怺0m
鈫怺34mStarting test...鈫怺0m
鈫怺34mTest complete in 2ms鈫怺0m
鈫怺34mStarting deploy...鈫怺0m
time="2019-08-21T14:14:16+05:30" level=debug msg="Running command: [kubectl version --client -ojson]"
time="2019-08-21T14:14:22+05:30" level=debug msg="Command output: [{\n \"clientVersion\": {\n \"major\": \"1\",\n \"minor\": \"13\",\n \"gitVersion\": \"v1
.13.5\",\n \"gitCommit\": \"2166946f41b36dea2c4626f90a77706f426cdea2\",\n \"gitTreeState\": \"clean\",\n \"buildDate\": \"2019-03-25T15:26:52Z\",\n \"goV
ersion\": \"go1.11.5\",\n \"compiler\": \"gc\",\n \"platform\": \"windows/amd64\"\n }\n}\n]"
鈫怺34mkubectl client version: 1.13鈫怺0m
time="2019-08-21T14:14:22+05:30" level=debug msg="Running command: [kubectl --context ...../..... create --d
ry-run -oyaml -f C:\\Users\\prashant\\cloud-code-samples-master\\java\\java-hello-world\\kubernetes-manifests\\hello.deployment.yaml]"
time="2019-08-21T14:22:20+05:30" level=debug msg="Command output: [apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103000-pra-dev\
nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec:\n con
tainers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ...../test/jserver:latest\n
name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 19
9\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n po
rt: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingr
ess.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n l
abels:\n app: simplehttp\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/nam
espaces/...../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: ......gk
p......\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n -
......net\nstatus:\n loadBalancer:\n ingress:\n - {}\n]"
time="2019-08-21T14:22:20+05:30" level=debug msg="manifests apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\
n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec:\n containers
:\n - env:\n - name: PORT\n value: \"8080\"\n image: ...../test/jserver:latest\n
name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\
napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n port
: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\n---\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n i
ngress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n
labels:\n app: simplehttp\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/
namespaces/...../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: .....
.....net\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n
- ......net\nstatus:\n loadBalancer:\n ingress:\n - {}"
time="2019-08-21T14:22:20+05:30" level=debug msg="manifests with tagged images apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: simplehttp\n namespace: 103
000-pra-dev\nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n spec
:\n containers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ...../test/jserv
er:dirty@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n imag
ePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n
name: simplehttp\n namespace: 103000-pra-dev\nspec:\n ports:\n - name: http\n port: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simple
http\n---\napiVersion: extensions/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.i
o/ssl-redirect: \"true\"\n creationTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n labels:\n app: simplehttp\n name: skaffold-example-ingress\n namespa
ce: 103000-pra-dev\n resourceVersion: \"14651061\"\n selfLink: /apis/extensions/v1beta1/namespaces/...../ingresses/skaffold-example-ingress\n uid: 54698fa9
-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host: ......net\n http:\n paths:\n - backend:\n ser
viceName: simplehttp\n servicePort: 8080\n path: /\n tls:\n - hosts:\n - ......net\nstatus:\n loadBala
ncer:\n ingress:\n - {}"
time="2019-08-21T14:22:20+05:30" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
time="2019-08-21T14:22:20+05:30" level=debug msg="manifests with labels apiVersion: apps/v1\nkind: Deployment\nmetadata:\n labels:\n app.kubernetes.io/managed-by
: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.dev/cleanup: \"true\"\n
skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n namespace: 103000-pra-dev\nspec:\n
replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n template:\n metadata:\n labels:\n app: simplehttp\n app.kubernetes.io/ma
naged-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaff
old.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n spec:\n
containers:\n - env:\n - name: PORT\n value: \"8080\"\n image: ...../test/jserver:dirty
@sha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n imagePullSec
rets:\n - name: regcred\n securityContext:\n runAsUser: 199\n---\napiVersion: v1\nkind: Service\nmetadata:\n labels:\n app: simplehttp\n app.
kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.
dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n namespace:
103000-pra-dev\nspec:\n ports:\n - name: http\n port: 80\n protocol: TCP\n targetPort: 8080\n selector:\n app: simplehttp\n---\napiVersion: extension
s/v1beta1\nkind: Ingress\nmetadata:\n annotations:\n ingress.kubernetes.io/ssl-redirect: \"true\"\n nginx.ingress.kubernetes.io/ssl-redirect: \"true\"\n crea
tionTimestamp: \"2018-11-05T10:41:19Z\"\n generation: 1\n labels:\n app: simplehttp\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideV
ersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaf
fold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: skaffold-example-ingress\n namespace: 103000-pra-dev\n resourceVersion: \"14651061\"\n s
elfLink: /apis/extensions/v1beta1/namespaces/...../ingresses/skaffold-example-ingress\n uid: 54698fa9-e0e7-11e8-ad52-6a1aa97f2964\nspec:\n rules:\n - host:
......net\n http:\n paths:\n - backend:\n serviceName: simplehttp\n servicePort: 8080\n
path: /\n tls:\n - hosts:\n - ......net\nstatus:\n loadBalancer:\n ingress:\n - {}"
time="2019-08-21T14:22:20+05:30" level=debug msg="Found artifact for image \"...../test/jserver:dirty@sha256:b7bf6c4
239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\""
time="2019-08-21T14:22:20+05:30" level=debug msg="FIXME: Got an status-code for which error does not match any expected type!!!: -1" module=api status_code=-1
time="2019-08-21T14:22:24+05:30" level=debug msg="Retrieved local image configuration for ...../test/jserver:dirty@s
ha256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877: {false false false [] <nil> [java -cp /app/resources:/app/classes:/app/libs/* cloudcode.hell
oworld.HelloWorldApplication] [PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/
bin JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk JAVA_VERSION=8u191 JAVA_ALPINE_VERSION=8.191.12-r0 LANG=C.UTF-8] map[] [] false false false map[] map[] false false
[]}"
time="2019-08-21T14:22:24+05:30" level=info msg="Configuring \"simplehttp\" for JVM debugging"
time="2019-08-21T14:22:24+05:30" level=debug msg="Applied debugging transform:\n apiVersion: apps/v1\nkind: Deployment\nmetadata:\n creationTimestamp: null\n label
s:\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.dev/builder: local\n
skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev/tail: \"true\"\n name: simplehttp\n
namespace: 103000-pra-dev\nspec:\n replicas: 1\n selector:\n matchLabels:\n app: simplehttp\n strategy: {}\n template:\n metadata:\n annotation
s:\n debug.cloud.google.com/config: '{\"simplehttp\":{\"jdwp\":5005,\"runtime\":\"jvm\"}}'\n creationTimestamp: null\n labels:\n app: simpleh
ttp\n app.kubernetes.io/managed-by: skaffold-unknown\n ide: idea\n ideVersion: 2019.1.3.0.0\n ijPluginVersion: unknown\n skaffold.
dev/builder: local\n skaffold.dev/cleanup: \"true\"\n skaffold.dev/deployer: kubectl\n skaffold.dev/tag-policy: git-commit\n skaffold.dev
/tail: \"true\"\n spec:\n containers:\n - env:\n - name: PORT\n value: \"8080\"\n - name: JAVA_TOOL_OPTIONS\n value: -ag
entlib:jdwp=transport=dt_socket,server=y,address=5005,suspend=n,quiet=y\n image: ...../test/jserver:dirty@sha
256:b7bf6c4239e79074b5c4344c1ac5d125635015d92fefb106a47c22a444870877\n name: simplehttp\n ports:\n - containerPort: 8080\n - containerPor
t: 5005\n name: jdwp\n resources: {}\n imagePullSecrets:\n - name: regcred\n securityContext:\n runAsUser: 199\nstatus: {}\n"
time="2019-08-21T14:22:24+05:30" level=debug msg="no debug transformation for: service/simplehttp"
time="2019-08-21T14:22:24+05:30" level=debug msg="no debug transformation for: ingress.extensions/skaffold-example-ingress"
time="2019-08-21T14:22:24+05:30" level=debug msg="3 manifests to deploy. 3 are updated or new"
time="2019-08-21T14:22:24+05:30" level=debug msg="Running command: [kubectl --context ...../..... apply -f -
--force]"
deployment.apps/simplehttp configured
service/simplehttp unchanged
ingress.extensions/skaffold-example-ingress configured
鈫怺34mDeploy complete in 9m45.22s鈫怺0m
鈫怺33mWatching for changes...鈫怺0m
time="2019-08-21T14:24:04+05:30" level=debug msg="Change detected <nil>"
time="2019-08-21T14:24:22+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:24:26+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:24:30+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:24:30+05:30" level=info msg="Stream logs from pod: simplehttp-6999f4c87f-kds4q container: simplehttp"
time="2019-08-21T14:24:30+05:30" level=debug msg="Running command: [kubectl logs --since=615s -f simplehttp-6999f4c87f-kds4q -c simplehttp --namespace 103000-pra-dev
]"
time="2019-08-21T14:24:36+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:24:38+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:24:43+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:24:46+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:24:52+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:24:54+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:25:00+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:02+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:25:07+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:10+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:25:15+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:18+05:30" level=debug msg="port forwarding service-simplehttp-103000-pra-dev-80 terminated: exit status 1, output: "
time="2019-08-21T14:25:24+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:26+05:30" level=warning msg="Unable to port forward service/simplehttp: timed out waiting for the condition"
time="2019-08-21T14:25:32+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:40+05:30" level=debug msg="port forwarding pod-simplehttp-6999f4c87f-kds4q-103000-pra-dev-8080 terminated: exit status 1, output: "
time="2019-08-21T14:25:46+05:30" level=warning msg="port forwarding pod failed: timed out waiting for the condition"
time="2019-08-21T14:33:54+05:30" level=trace msg="[port-forward] Forwarding from 127.0.0.1:80 -> 8080\n"
time="2019-08-21T14:33:55+05:30" level=trace msg="[port-forward] Forwarding from [::1]:80 -> 8080\n"
time="2019-08-21T14:33:55+05:30" level=trace msg="[port-forward] Forwarding from 127.0.0.1:8080 -> 8080\n"
time="2019-08-21T14:33:56+05:30" level=trace msg="[port-forward] Forwarding from [::1]:8080 -> 8080\n"
I opened a new issue to track the port-forwarding conversation: #2706
Most helpful comment
Thank you for filing @prary - we should look into this asap and try to reproduce on Windows. Can you try running with
--cache-artifacts=false- we might have the bug there.