-
Notifications
You must be signed in to change notification settings - Fork 243
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
Binary component create fails if path is relative and includes ../ #3797
Comments
Failing on macOS while running the test script. |
I have tested the above test on linux and was not able to reproduce error, Thus it is macOS specific error, and will require access to mac environment. |
This is seems to be a test script failure. I am not able to reproduce it locally. In the script --context is not pointing to the correct relative context path Script
Failure command
NOTE: It passes on windows and Linux |
@anandrkskd We have got mini mac in our test lab, I think you can use that to fix this. However I have installed the minimal setup on that machine, so there shouldn't be any issue for you. We need to fix this for running periodic tests successfully on macOS without any blocker. |
@prietyc123 can't we use absolute path instead of using relative path in our test, are there any negative side to it? |
@anandrkskd It's not about the negative side of it, If you see https://github.com/openshift/odo/blob/master/tests/integration/component.go#L304 the scope of the tests spec itself is relative path and that is one of the scenario we need to validate. |
This issue on mac is not due to wrong relativeContext but from where the test are ran, commonVar.Context in our code create random directory in The logs here shows Prenent working dir for the test as
|
/kind bug
What versions of software are you using?
Operating System:
macOS
Output of
odo version
:master
How did you run odo exactly?
Actual behavior
Expected behavior
Should pass
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: