Skip to content
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

[BUG] 1.3.5 build failed on the Windows Agent #238

Closed
peterzhuamazon opened this issue Sep 7, 2022 · 5 comments · Fixed by #258
Closed

[BUG] 1.3.5 build failed on the Windows Agent #238

peterzhuamazon opened this issue Sep 7, 2022 · 5 comments · Fixed by #258
Assignees
Labels
bug Something isn't working untriaged windows

Comments

@peterzhuamazon
Copy link
Member

UserTest > testParseUserStringEmpty() STANDARD_OUT
    2022-09-07 18:19:52,830 Test worker ERROR Unable to locate plugin type for HeaderWarningAppender
    2022-09-07 18:19:52,907 Test worker ERROR Unable to locate plugin for HeaderWarningAppender
    2022-09-07 18:19:52,910 Test worker ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.config.AppendersPlugin for element Appenders: java.lang.NullPointerException java.lang.NullPointerException

https://build.ci.opensearch.org/job/distribution-build-opensearch/6018/execution/node/379/log/

This is consistently reproducible right now, not on 2.x or 3.x, only on 1.x.

@peterzhuamazon peterzhuamazon added bug Something isn't working untriaged labels Sep 7, 2022
@peterzhuamazon peterzhuamazon transferred this issue from opensearch-project/OpenSearch Sep 7, 2022
@dblock
Copy link
Member

dblock commented Sep 8, 2022

Do we want to be backporting windows fixes into 1.x?

@peterzhuamazon
Copy link
Member Author

Do we want to be backporting windows fixes into 1.x?

@dblock is there a windows fix for CU?
If so, yes we want it to be in 1.x.

Thanks.

@bbarani
Copy link
Member

bbarani commented Sep 19, 2022

@praveensameneni @lezzago Can you please provide your inputs here?

@peterzhuamazon peterzhuamazon changed the title [BUG] 1.3.5 build failed on the Windows agent [BUG] 1.3.5 build failed on the Windows Agent Sep 29, 2022
@peterzhuamazon
Copy link
Member Author

@praveensameneni @lezzago Can you please provide your inputs here?

Any progress guys?
Thanks.

@rishabhmaurya
Copy link
Collaborator

rishabhmaurya commented Sep 29, 2022

we should use https://docs.oracle.com/javase/7/docs/api/java/io/File.html#separator instead of forward slash here -

assertTrue(absolutePath.endsWith("/sample.pem"));

Fix: https://github.com/rishabhmaurya/common-utils/tree/rishma-main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants