Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created October 11, 2018 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/8280027c60eae4fd5ac631c2621492cf to your computer and use it in GitHub Desktop.
Save jcrossley3/8280027c60eae4fd5ac631c2621492cf to your computer and use it in GitHub Desktop.
[jim@localhost serving]$ go test -v -tags=e2e -count=1 ./test/e2e --tag any-old-tag
info logging/config.go:38 Successfully created the logger. {"knative.dev/jsonconfig": "{\n\t \"level\": \"info\",\n\t \"encoding\": \"console\",\n\t \"outputPaths\": [\"stdout\"],\n\t \"errorOutputPaths\": [\"stderr\"],\n\t \"encoderConfig\": {\n\t \"messageKey\": \"message\",\n\t\t\t\"levelKey\": \"level\",\n\t\t\t\"nameKey\": \"logger\",\n\t\t\t\"callerKey\": \"caller\",\n\t\t\t\"messageKey\": \"msg\",\n \"stacktraceKey\": \"stacktrace\",\n \"lineEnding\": \"\",\n \"levelEncoder\": \"\",\n \"timeEncoder\": \"\",\n \"durationEncoder\": \"\",\n \"callerEncoder\": \"\"\n\t }\n\t}"}
info logging/config.go:38 Logging level set to info
=== RUN TestAutoscaleUpDownUp
info TestAutoscaleUpDownUp e2e/autoscale_test.go:151 Creating a new Route and Configuration
info TestAutoscaleUpDownUp test/crd.go:177 Seeding rand.Rand with 1539291108888725123
info TestAutoscaleUpDownUp test/util.go:29 resource {"Route":null,"Configuration":{"metadata":{"name":"prodzpewhquf","namespace":"serving-tests","creationTimestamp":null},"spec":{"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"containerConcurrency":10,"container":{"name":"","image":"ko.local/github.com/knative/serving/test/test_images/autoscale:any-old-tag","resources":{}}}}},"status":{}},"Service":null}
info TestAutoscaleUpDownUp test/util.go:29 resource {"Route":{"metadata":{"name":"noodleburgpwbwsodv","namespace":"serving-tests","creationTimestamp":null},"spec":{"traffic":[{"configurationName":"prodzpewhquf","percent":100}]},"status":{}},"Configuration":null,"Service":null}
info TestAutoscaleUpDownUp e2e/autoscale_test.go:161 When the Revision can have traffic routed to it,
the Route is marked as Ready.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:173 Serves the expected data at the endpoint
info TestAutoscaleUpDownUp e2e/autoscale_test.go:202 The autoscaler spins up additional replicas when traffic
increases.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:66 Maintaining 20 concurrent requests for 20s.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:108 Waiting for all requests to complete.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:118 All 272 requests succeeded.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:208 Waiting for scale up
info TestAutoscaleUpDownUp e2e/autoscale_test.go:220 The autoscaler successfully scales down when devoid of
traffic.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:223 Waiting for scale to zero
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 3 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 3 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 3 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 3 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/diagnose.go:61 deployment prodzpewhquf-00001-deployment has 1 pods.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:236 Wait for all pods to terminate.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:253 Scaled down.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:254 Sending traffic again to verify deployment scales back up
info TestAutoscaleUpDownUp e2e/autoscale_test.go:66 Maintaining 20 concurrent requests for 20s.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:108 Waiting for all requests to complete.
info TestAutoscaleUpDownUp e2e/diagnose.go:59 deployment prodzpewhquf-00001-deployment has 1 pods. wants 2.
info TestAutoscaleUpDownUp e2e/autoscale_test.go:118 All 202 requests succeeded.
--- PASS: TestAutoscaleUpDownUp (355.93s)
=== RUN TestBuildSpecAndServe
info TestBuildAndServe e2e/build_test.go:48 Creating a new Route and Configuration with build
info TestBuildAndServe e2e/build_test.go:73 When the Revision can have traffic routed to it, the Route is marked as Ready.
info TestBuildAndServe e2e/build_test.go:90 Revision is ready and serving, checking Build status.
info TestBuildAndServe e2e/build_test.go:100 Latest ready Revision is "prodvcsxherd-00001"
info TestBuildAndServe e2e/build_test.go:101 Revision's Build is "prodvcsxherd-00001"
--- PASS: TestBuildSpecAndServe (23.50s)
=== RUN TestBuildAndServe
info TestBuildAndServe e2e/build_test.go:129 Creating a new Route and Configuration with build
info TestBuildAndServe e2e/build_test.go:154 When the Revision can have traffic routed to it, the Route is marked as Ready.
info TestBuildAndServe e2e/build_test.go:171 Revision is ready and serving, checking Build status.
info TestBuildAndServe e2e/build_test.go:181 Latest ready Revision is "prodtewaohgi-00001"
info TestBuildAndServe e2e/build_test.go:182 Revision's Build is "prodtewaohgi-00001"
--- PASS: TestBuildAndServe (7.33s)
=== RUN TestBuildFailure
info TestBuildFailure e2e/build_test.go:200 Creating a new Configuration with failing build
info TestBuildFailure e2e/build_test.go:243 Revision "prodevpcsiqc-00001" is not ready because its build failed.
info TestBuildFailure e2e/build_test.go:249 Latest created Revision is "prodevpcsiqc-00001"
info TestBuildFailure e2e/build_test.go:250 Revision's Build is "prodevpcsiqc-00001"
--- PASS: TestBuildFailure (1.26s)
=== RUN TestEnvVars
info TestEnvVars e2e/envvars_test.go:48 Creating a new Service
info TestEnvVars test/util.go:29 resource {"Route":null,"Configuration":null,"Service":{"metadata":{"name":"yashikiodzldemd","namespace":"serving-tests","creationTimestamp":null},"spec":{"runLatest":{"configuration":{"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"container":{"name":"","image":"ko.local/github.com/knative/serving/test/test_images/envvars:any-old-tag","resources":{}}}}}}},"status":{}}}
info TestEnvVars e2e/envvars_test.go:57 The Service will be updated with the name of the Revision once it is created
info TestEnvVars e2e/envvars_test.go:70 When the Service reports as Ready, everything should be ready.
info TestEnvVars e2e/envvars_test.go:75 When the Revision can have traffic routed to it, the Route is marked as Ready.
--- PASS: TestEnvVars (8.41s)
=== RUN TestContainerErrorMsg
--- SKIP: TestContainerErrorMsg (0.00s)
errorcondition_test.go:45: Skipping for local docker repo
=== RUN TestHelloWorldFromShell
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:61 Creating manifest
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:88 Manifest file is '/tmp/helloworld937550257'
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:89 Deploying using kubectl
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:96 Waiting for ingress to come up
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:113 Ingress is at 172.29.86.154/route-example.serving-tests.example.com
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:115 Accessing app using curl
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:134 App replied with '' (error: none)
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:134 App replied with '' (error: none)
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:134 App replied with '' (error: none)
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:134 App replied with '' (error: none)
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:134 App replied with 'Hello World! How about some tasty noodles?' (error: none)
info TestHelloWorldFromShell e2e/helloworld_shell_test.go:140 App is serving
--- PASS: TestHelloWorldFromShell (14.14s)
=== RUN TestHelloWorld
info TestHelloWorld e2e/helloworld_test.go:44 Creating a new Route and Configuration
info TestHelloWorld test/util.go:29 resource {"Route":null,"Configuration":{"metadata":{"name":"prodqclaemai","namespace":"serving-tests","creationTimestamp":null},"spec":{"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"container":{"name":"","image":"ko.local/github.com/knative/serving/test/test_images/helloworld:any-old-tag","resources":{}}}}},"status":{}},"Service":null}
info TestHelloWorld test/util.go:29 resource {"Route":{"metadata":{"name":"noodleburgozycdaya","namespace":"serving-tests","creationTimestamp":null},"spec":{"traffic":[{"configurationName":"prodqclaemai","percent":100}]},"status":{}},"Configuration":null,"Service":null}
info TestHelloWorld e2e/helloworld_test.go:52 When the Revision can have traffic routed to it, the Route is marked as Ready.
--- PASS: TestHelloWorld (13.37s)
=== RUN TestServiceToServiceCall
info TestServiceToServiceCall e2e/service_to_service_test.go:87 Creating a Route and Configuration for helloworld test app.
info TestServiceToServiceCall test/util.go:29 resource {"Route":null,"Configuration":{"metadata":{"name":"prodizqczsdg","namespace":"serving-tests","creationTimestamp":null},"spec":{"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"container":{"name":"","image":"ko.local/github.com/knative/serving/test/test_images/helloworld:any-old-tag","resources":{}}}}},"status":{}},"Service":null}
info TestServiceToServiceCall test/util.go:29 resource {"Route":{"metadata":{"name":"noodleburgnuefvnyq","namespace":"serving-tests","creationTimestamp":null},"spec":{"traffic":[{"configurationName":"prodizqczsdg","percent":100}]},"status":{}},"Configuration":null,"Service":null}
info TestServiceToServiceCall e2e/service_to_service_test.go:101 Creating a Route and Configuration for httpproxy test app.
info TestServiceToServiceCall e2e/service_to_service_test.go:54 helloworld internal domain is noodleburgnuefvnyq.serving-tests.svc.cluster.local.
info TestServiceToServiceCall test/util.go:29 resource {"Route":null,"Configuration":{"metadata":{"name":"prodbeylbfml","namespace":"serving-tests","creationTimestamp":null},"spec":{"revisionTemplate":{"metadata":{"creationTimestamp":null},"spec":{"container":{"name":"","image":"ko.local/github.com/knative/serving/test/test_images/httpproxy:any-old-tag","env":[{"name":"TARGET_HOST","value":"noodleburgnuefvnyq.serving-tests.svc.cluster.local"}],"resources":{}}}}},"status":{}},"Service":null}
info TestServiceToServiceCall test/util.go:29 resource {"Route":{"metadata":{"name":"noodleburgpevkmgvc","namespace":"serving-tests","creationTimestamp":null},"spec":{"traffic":[{"configurationName":"prodbeylbfml","percent":100}]},"status":{}},"Configuration":null,"Service":null}
info TestServiceToServiceCall e2e/service_to_service_test.go:126 httpproxy is ready.
info TestServiceToServiceCall e2e/service_to_service_test.go:62 The domain of request is noodleburgpevkmgvc.serving-tests.example.com.
--- PASS: TestServiceToServiceCall (14.61s)
PASS
ok github.com/knative/serving/test/e2e 438.577s
[jim@localhost serving]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment