-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestServiceOptions E2E test is failing with error "/go/bin/helloworld: no such file or directory" #941
Comments
That's correct. The tests are written based on the image Ideally, the test image should be built from the source present in client repo https://github.com/knative/client/tree/master/test/test_images/helloworld, pushed to a repo and referenced from there. Filed #942 to resolve this. Meanwhile, you can update this line in failing test to refer the cmd as |
@RichieEscarez @evankanderson : Do you know if helloworld sample image is built and pushed from https://github.com/knative/docs/blob/master/docs/serving/samples/hello-world/helloworld-go/Dockerfile ? |
@navidshaikh thanks for the reply and for confirming the observations. |
I'm not sure who owns @chaodaiG may know more or be able to see who owns that repo. |
I don't have any impression of any flow that automates imaging pushing in docs repo |
I compared both the docker files: The only difference is related to downloading of |
I'm wondering how/where |
Yes, most of the examples at knative.docs and client repo are referring images from |
@grayside might be able to help? He did a lot of samples work early on. |
This issue is stale because it has been open for 90 days with no |
/close We now build the test images part of CI run. |
@navidshaikh: Closing this issue. In response to this:
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. |
Hi Team,
I am working on executing knative-client "kn" CLI E2E test suite.
The issue:
One of the test case
TestServiceOptions
is consistently failing, with below error message:Command used to execute the tests:
$ test/local-e2e-tests.sh -timeout=90m -count=1
or
$ test/local-e2e-tests.sh -timeout=15m -count=1 -run ^TestServiceOptions$
Analysis:
The test is executed from
./test/e2e/service_options_test.go
file.(line 97 to 99)
The
serviceCreateWithOptions
function usesKnDefaultTestImage
as the test image.This
KnDefaultTestImage
string is defined in the./lib/test/integration.go
file, which usesgcr.io/knative-samples/helloworld-go
I have replaced the variable to use an image built for my PPC64LE platform, from docker file available @ https://github.com/knative/docs/blob/release-0.13/docs/serving/samples/hello-world/helloworld-go/Dockerfile
The docker file uses
/server
as the command where as the test used/go/bin/helloworld
as the command, causing the test to fail.I am working on v0.13.2, on OCP 4.3 cluster. I also checked v0.16.0 which has same test code.
Understanding:
With reference to above data, looks like either the test is supposed to use a different test image having
/go/bin/helloworld
or the test needs modification in the test source code.Request:
Can you kindly check above data and confirm if the understanding is correct? If not, can you help me understand what the issue is? and what can be done to resolve it?
The text was updated successfully, but these errors were encountered: