Closed prietyc123 closed 3 years ago
/kind test
@prietyc123: The label(s) kind/test
cannot be applied, because the repository doesn't have them
I have changes the priority to high because we have already set up our periodic job on PSI for fedora, windows and macOS. However the platform specific issues are acting as hindrance for the test run, so IMO its high time we fix these bugs or test script issues.
Assigning @anandrkskd for this.
The test for e2e test creates image names and uses filepath.Join("string", "string:latest")
, which creates an issue in case of tests running on Windows platform, as in case of Winodws filepath.Join("string", "string:latest")
uses "\" to join the two strings and thus the correct image name is not generated.
To resolve this issue we will require tests to uses a custom function that uses "/" to join and create the expected image name.
This change is required on multiple location in the test for e2e-images to resolve this issue for Windows platform.
/kind bug
What versions of software are you using?
Operating System: Win10
Output of
odo version
: masterHow did you run odo exactly?
Ran
make test-e2e-images
on windows.Actual behavior
Failure : The ImageStreamImport "nodejs" is invalid: spec.images[0].from.name: Invalid value: "registry.access.redhat.com\rhscl\nodejs-8-rhel7:latest": invalid reference format
Expected behavior
Image import path should be
registry.access.redhat.com\rhscl\nodejs-8-rhel7:latest
Any logs, error output, etc?