-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Kokoro Windows continuous job failing after image migration #3978
Comments
#3979 works past error message above, but with additional issue in test suite:
Follow-up: Using the unix-based newline instead of jib/jib-cli/src/test/java/com/google/cloud/tools/jib/cli/buildfile/BuildFilesTest.java Line 187 in fa8cc95
I suspect this is because UTF-8 is used when reading the buildfile for this test, but the default charset in the new Kokoro windows environment is now jib/jib-cli/src/main/java/com/google/cloud/tools/jib/cli/buildfile/BuildFiles.java Lines 53 to 54 in fa8cc95
|
Additional errors in later tests (possibly also related to charset discrepancy?):
|
I see the two values are equal. Not greater than. Can you check the assertions? Are they ok to be equal? |
Looking at UpdateCheckerTest and the corresponding logic in UpdateChecker, I don’t think they should be equal, but also don’t have a windows development setup to easily reproduce this error on. Planning to test out a few initial suspicions in #3979 and see if they lead anywhere:
|
I feel that the assertions are written based on an assumption that certain operations take more than 1 millisecond (in the clock). Do you see the same? |
Ahh turns out this was actually it - thank you @suztomo for the suggestions and for looking into this issue! I was getting thrown off by the change being windows-specific and ended up overthinking here. #3979 should be good to go now :) |
Great. Thank you. |
Error Message:
The text was updated successfully, but these errors were encountered: