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

Resolve multiple OSD core test issues observed in 2.15.0 #1432

Merged
merged 3 commits into from
Jun 23, 2024

Conversation

peterzhuamazon
Copy link
Member

@peterzhuamazon peterzhuamazon commented Jun 22, 2024

Description

Resolve multiple OSD core test issues observed in 2.15.0.
Thanks @AMoo-Miki for pointing out the issues related to Windows.

Issues Resolved

opensearch-project/opensearch-build#4745
opensearch-project/opensearch-build#4681

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
@peterzhuamazon peterzhuamazon changed the base branch from main to 2.15 June 22, 2024 23:52
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
@peterzhuamazon peterzhuamazon changed the title Resolve OSD core test issues observed in 2.15.0 Resolve multiple OSD core test issues observed in 2.15.0 Jun 23, 2024
@peterzhuamazon
Copy link
Member Author

Windows failure not related due to wrong curl command in the workflow file.
The cluster started with no issues:


[2024-06-23T00:14:36,716][INFO ][o.o.s.c.ConfigurationRepository] [fv-az742-164] Hot-reloading of audit configuration is enabled
[2024-06-23T00:14:36,716][INFO ][o.o.s.c.ConfigurationRepository] [fv-az742-164] Node 'fv-az742-164' initialized
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (43) A libcurl function was given a bad argument
sleeping 5
Error: 6-23T00:14:39,092][ERROR][o.o.h.n.s.SecureNetty4HttpServerTransport] [fv-az742-164] Exception during establishing a SSL connection: java.io.IOException: An established connection was aborted by the software in your host machine
java.io.IOException: An established connection was aborted by the software in your host machine
	at java.base/sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:?]
	at java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:46) ~[?:?]
	at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276) ~[?:?]
	at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:233) ~[?:?]
	at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223) ~[?:?]
	at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:367) ~[?:?]
	at org.opensearch.transport.CopyBytesSocketChannel.readFromSocketChannel(CopyBytesSocketChannel.java:156) ~[transport-netty4-client-2.15.0.jar:2.15.0]
	at org.opensearch.transport.CopyBytesSocketChannel.doReadBytes(CopyBytesSocketChannel.java:141) ~[transport-netty4-client-2.15.0.jar:2.15.0]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) [netty-transport-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) [netty-transport-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:689) [netty-transport-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:652) [netty-transport-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [netty-transport-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:994) [netty-common-4.1.110.Final.jar:4.1.110.Final]
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.110.Final.jar:4.1.110.Final]
	at java.base/java.lang.Thread.run(Thread.java:832) [?:?]
[2024-06-23T00:14:39,092][INFO ][o.o.p.PluginsService     ] [fv-az742-164] PluginService:onIndexModule index:[security-auditlog-2024.06.23/S_6ZNuySQtyEHxIxNmG3BQ]
[2024-06-23T00:14:39,108][INFO ][o.o.c.m.MetadataCreateIndexService] [fv-az742-164] [security-auditlog-2024.06.23] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[2024-06-23T00:14:39,108][WARN ][o.o.c.r.a.AllocationService] [fv-az742-164] Falling back to single shard assignment since batch mode disable or multiple custom allocators set
[2024-06-23T00:14:39,123][INFO ][o.o.p.PluginsService     ] [fv-az742-164] PluginService:onIndexModule index:[security-auditlog-2024.06.23/S_6ZNuySQtyEHxIxNmG3BQ]
[2024-06-23T00:14:39,171][WARN ][o.o.c.r.a.AllocationService] [fv-az742-164] Falling back to single shard assignment since batch mode disable or multiple custom allocators set
[2024-06-23T00:14:39,187][INFO ][o.o.p.PluginsService     ] [fv-az742-164] PluginService:onIndexModule index:[security-auditlog-2024.06.23/S_6ZNuySQtyEHxIxNmG3BQ]
[2024-06-23T00:14:39,187][INFO ][o.o.c.m.MetadataMappingService] [fv-az742-164] [security-auditlog-2024.06.23/S_6ZNuySQtyEHxIxNmG3BQ] create_mapping

@peterzhuamazon peterzhuamazon merged commit b2c775e into opensearch-project:2.15 Jun 23, 2024
57 of 59 checks passed
@peterzhuamazon peterzhuamazon deleted the osd-2.15.0-fix branch June 23, 2024 00:39
@opensearch-trigger-bot
Copy link
Contributor

The backport to main failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-main main
# Navigate to the new working tree
cd .worktrees/backport-main
# Create a new branch
git switch --create backport/backport-1432-to-main
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b2c775ea58a20579cbcfe3221dbbf94c3882664a
# Push it to GitHub
git push --set-upstream origin backport/backport-1432-to-main
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-main

Then, create a pull request where the base branch is main and the compare/head branch is backport/backport-1432-to-main.

opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 23, 2024
* Resolve OSD core test issues observed in 2.15.0

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
(cherry picked from commit b2c775e)
peterzhuamazon added a commit that referenced this pull request Jun 23, 2024
* Resolve OSD core test issues observed in 2.15.0

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
(cherry picked from commit b2c775e)

Co-authored-by: Peter Zhu <zhujiaxi@amazon.com>
peterzhuamazon added a commit to peterzhuamazon/opensearch-dashboards-functional-test that referenced this pull request Jun 23, 2024
…project#1432)

* Resolve OSD core test issues observed in 2.15.0

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Fix eslint issues

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
peterzhuamazon added a commit that referenced this pull request Jun 23, 2024
* Resolve OSD core test issues observed in 2.15.0



* Fix eslint issues



* Fix eslint issues



---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants