serving icon indicating copy to clipboard operation
serving copied to clipboard

Make sure non-unit tests are run against the correct Ingress endpoint on Minikube

Open vvraskin opened this issue 7 years ago • 7 comments

Expected Behavior

I'm able to run non-unit tests on my local minikube deployment.

Actual Behavior

The tests are failing due to the fact that Istio uses a non-standard http port on minikube.

Steps to Reproduce the Problem

  1. Deploy serving on minikube - https://github.com/knative/docs/blob/master/install/Knative-with-Minikube.md
  2. Create the namespace
kubectl create namespace serving-tests
  1. Publish the docker images:
ko publish -B github.com/knative/serving/test/test_images/pizzaplanetv1
  1. Run the test
go test -race -v -tags=preupgrade -count=1 -timeout=10m ./
  1. See the failure:
--- FAIL: TestRunLatestServicePreUpgrade (7.11s)
	upgrade.go:52: The endpoint for Route pizzaplanet-upgrade-service at domain pizzaplanet-upgrade-service.serving-tests.example.com didn't serve the expected text "What a spaceport!": Expected exactly one ingress load balancer, instead had 0: []
FAIL

Additional Info

vvraskin avatar Jan 10 '19 17:01 vvraskin

/assign /milestone 0.4

vvraskin avatar Jan 11 '19 14:01 vvraskin

@vvraskin: You must be a member of the knative/knative-milestone-maintainers github team to set the milestone.

In response to this:

/assign /milestone 0.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

knative-prow-robot avatar Jan 11 '19 14:01 knative-prow-robot

Leave this open until https://github.com/knative/pkg/pull/143 lands

vvraskin avatar Jan 25 '19 15:01 vvraskin

/milestone 0.4

mattmoor avatar Jan 28 '19 19:01 mattmoor

@mattmoor: The provided milestone is not valid for this repository. Milestones in this repository: [Ice Box, Needs Triage, Serving "v1" (ready for production), Serving 0.4]

Use /milestone clear to clear the milestone.

In response to this:

/milestone 0.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

knative-prow-robot avatar Jan 28 '19 19:01 knative-prow-robot

/milestone Serving 0.4

mattmoor avatar Jan 28 '19 19:01 mattmoor

I'm going to move this out of 0.4 due to the state of the PR :(

mattmoor avatar Feb 08 '19 01:02 mattmoor