Skip to content

Commit

Permalink
Allow-list netty experimental VM options lines
Browse files Browse the repository at this point in the history
Those are out of our control and quarkus would need a netty update to
deal with this.
  • Loading branch information
jerboaa authored and zakkak committed Sep 19, 2023
1 parent a3630ff commit e67f2fd
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ public Pattern[] get(boolean inContainer) {
Pattern.compile(".*GC warning: [0-9.]+s spent in [0-9]+ GCs during the last stage, taking up [0-9]+.[0-9]+% of the time.*"),
// https://github.com/quarkusio/quarkus/issues/30508#issuecomment-1402066131
Pattern.compile(".*Warning: Could not register io.netty.* queryAllPublicMethods for reflection.*"),
// netty 4 which doesn't have the relevant native config in the lib. See https://github.com/netty/netty/pull/13596
Pattern.compile(".*Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io\\.netty/netty-transport/reflection-config\\.json' is experimental and must be enabled via.*"),
Pattern.compile(".*Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it\\..*")
};
}
},
Expand Down Expand Up @@ -198,7 +201,10 @@ public Pattern[] get(boolean inContainer) {
// Again Hyperfoil and Podman. There might be something odd with stopping those agents? Not a Quaruks/Mandrel issue.
Pattern.compile(".*Waiting for container .* getting exit code of container .* from DB: no such exit code \\(container in state running\\).*"),
// Quarkus 3.x intermittently with JDK 20 based build...
Pattern.compile(".*io.net.boo.ServerBootstrap.*Failed to register an accepted channel:.*")
Pattern.compile(".*io.net.boo.ServerBootstrap.*Failed to register an accepted channel:.*"),
// Perf test uses netty 4 which doesn't have the relevant native config in the lib. See https://github.com/netty/netty/pull/13596
Pattern.compile(".*Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io\\.netty/netty-transport/reflection-config\\.json' is experimental and must be enabled via.*"),
Pattern.compile(".*Warning: Please re-evaluate whether any experimental option is required, and either remove or unlock it\\..*")
};
}
}
Expand Down

0 comments on commit e67f2fd

Please sign in to comment.