==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: opensearch-notifications-plugin 2.19.1.0-1 (Wed May  7 06:20:09 2025)
==> Retrieving sources...
  -> Found opensearch-notifications-plugin-2.19.1.0.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    opensearch-notifications-plugin-2.19.1.0.tar.gz ... Passed
==> Making package: opensearch-notifications-plugin 2.19.1.0-1 (Wed May  7 06:20:16 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 3 providers available for java-runtime-headless=17:
:: Repository extra
   1) jdk17-openjdk  2) jre17-openjdk  3) jre17-openjdk-headless

Enter a number (default=1): 
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (17) freetype2-2.13.3-3  giflib-5.2.2-2  graphite-1:1.3.14-4
              harfbuzz-11.2.0-1  hicolor-icon-theme-0.18-1
              java-environment-common-3-6  java-runtime-common-3-6
              jbigkit-2.1-8  jdk17-openjdk-17.0.15.u6-1  lcms2-2.17-1
              libjpeg-turbo-3.1.0-1  libnet-2:1.3-1  libpng-1.6.48-1
              libtiff-4.7.0-1  nspr-4.36-1  nss-3.111-1  opensearch-2.19.1-2

Total Installed Size:  422.13 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing java-runtime-common...
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile
Please note that this package does not support forcing JAVA_HOME as former package java-common did
installing nspr...
installing nss...
installing libjpeg-turbo...
installing jbigkit...
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing lcms2...
installing libnet...
installing libpng...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing freetype2...
installing java-environment-common...
installing hicolor-icon-theme...
installing giflib...
installing jdk17-openjdk...
Optional dependencies for jdk17-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support
    gtk3: for the Gtk+ 3 look and feel - desktop usage
installing opensearch...
Optional dependencies for opensearch
    opensearch-analysis-icu-plugin
    opensearch-analysis-kuromoji-plugin
    opensearch-analysis-nori-plugin
    opensearch-analysis-phonetic-plugin
    opensearch-analysis-smartcn-plugin
    opensearch-analysis-stempel-plugin
    opensearch-analysis-ukrainian-plugin
    opensearch-discovery-azure-classic-plugin
    opensearch-discovery-ec2-plugin
    opensearch-discovery-gce-plugin
    opensearch-ingest-attachment-plugin
    opensearch-mapper-annotated-text-plugin
    opensearch-mapper-murmur3-plugin
    opensearch-mapper-size-plugin
    opensearch-repository-azure-plugin
    opensearch-repository-gcs-plugin
    opensearch-repository-hdfs-plugin
    opensearch-repository-s3-plugin
    opensearch-store-smb-plugin
    opensearch-transport-nio-plugin
    opensearch-alerting-plugin
    opensearch-anomaly-detection-plugin
    opensearch-asynchronous-search-plugin
    opensearch-cross-cluster-replication-plugin
    opensearch-geospatial-plugin
    opensearch-ml-commons-plugin
    opensearch-notifications-plugin
    opensearch-neural-search-plugin
    opensearch-index-management-plugin
    opensearch-job-scheduler-plugin
    opensearch-knn-plugin
    opensearch-observability-plugin
    opensearch-performance-analyzer-plugin
    opensearch-reports-scheduler-plugin
    opensearch-security-plugin
    opensearch-sql-plugin
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'opensearch' with GID 971.
Creating user 'opensearch' (OpenSearch user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (2) jdk11-openjdk-11.0.27.u6-1  unzip-6.0-22

Total Installed Size:  250.89 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing jdk11-openjdk...
Default Java environment is already set to 'java-17-openjdk'
See 'archlinux-java help' to change it
Optional dependencies for jdk11-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support
    gtk3: for the Gtk+ 3 look and feel - desktop usage
installing unzip...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Retrieving sources...
  -> Found opensearch-notifications-plugin-2.19.1.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting opensearch-notifications-plugin-2.19.1.0.tar.gz with bsdtar
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.5
  OS Info               : Linux 5.1.16-1-ARCH (aarch64)
  JDK Version           : 11 (Arch Linux JDK)
  JAVA_HOME             : /usr/lib/jvm/java-11-openjdk
  Random Testing Seed   : 996993409B256E82
  In FIPS 140 mode      : false
=======================================









> Task :opensearch-notifications-core:compileKotlin
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/main/kotlin/org/opensearch/notifications/core/client/DestinationHttpClient.kt:211:13 Condition 'entity == null' is always 'false'
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/main/kotlin/org/opensearch/notifications/core/client/DestinationSnsClient.kt:47:71 Parameter 'referenceId' is never used








> Task :notifications:compileKotlin
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:58:37 Parameter 'slack' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:58:51 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:63:37 Parameter 'chime' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:63:51 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:67:78 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:74:39 Parameter 'webhook' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:74:57 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:79:35 Parameter 'sns' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:79:45 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:148:43 Parameter 'smtpAccount' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:148:69 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:153:42 Parameter 'sesAccount' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:153:66 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:158:42 Parameter 'emailGroup' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/ConfigIndexingActions.kt:158:66 Parameter 'user' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/index/NotificationConfigIndex.kt:135:18 'settings(String!, XContentType!): CreateIndexRequest!' is deprecated. Deprecated in Java
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/main/kotlin/org/opensearch/notifications/metrics/RollingCounter.kt:34:58 Parameter 'k' is never used, could be renamed to _









> Task :opensearch-notifications-core:forbiddenApisMain
Forbidden method invocation: java.lang.String#format(java.lang.String,java.lang.Object[]) [Uses default locale]
  in org.opensearch.notifications.core.client.DestinationSnsClient (DestinationSnsClient.kt:130)
Forbidden method invocation: java.net.InetAddress#getHostAddress() [use NetworkAddress format() to print IP or IP+ports]
  in org.opensearch.notifications.core.utils.ValidationHelpersKt (ValidationHelpers.kt:53)









> Task :opensearch-notifications-core:compileTestKotlin
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/test/kotlin/org/opensearch/notifications/core/utils/ValidationHelpersTests.kt:39:32 'isHostInDenylist(String, List<String>): Boolean' is deprecated. This function is not maintained, use org.opensearch.notifications.spi.utils.isHostInDenylist instead.
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/test/kotlin/org/opensearch/notifications/core/utils/ValidationHelpersTests.kt:47:33 'isHostInDenylist(String, List<String>): Boolean' is deprecated. This function is not maintained, use org.opensearch.notifications.spi.utils.isHostInDenylist instead.
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/test/kotlin/org/opensearch/notifications/core/utils/ValidationHelpersTests.kt:64:28 'isHostInDenylist(String, List<String>): Boolean' is deprecated. This function is not maintained, use org.opensearch.notifications.spi.utils.isHostInDenylist instead.
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/src/test/kotlin/org/opensearch/notifications/core/utils/ValidationHelpersTests.kt:68:29 'isHostInDenylist(String, List<String>): Boolean' is deprecated. This function is not maintained, use org.opensearch.notifications.spi.utils.isHostInDenylist instead.









> Task :opensearch-notifications-core:forbiddenApisTest
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.ChimeDestinationTests (ChimeDestinationTests.kt:102)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.ChimeDestinationTests (ChimeDestinationTests.kt:137)








Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.SlackDestinationTests (SlackDestinationTests.kt:105)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.SlackDestinationTests (SlackDestinationTests.kt:140)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.CustomWebhookDestinationTests (CustomWebhookDestinationTests.kt:123)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.CustomWebhookDestinationTests (CustomWebhookDestinationTests.kt:165)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.CustomWebhookDestinationTests (CustomWebhookDestinationTests.kt:246)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.MicrosoftTeamsDestinationTests (MicrosoftTeamsDestinationTests.kt:105)
Forbidden method invocation: org.apache.http.entity.StringEntity#<init>(java.lang.String) [Explicitly specify the ContentType of HTTP entities when creating]
  in org.opensearch.notifications.core.destinations.MicrosoftTeamsDestinationTests (MicrosoftTeamsDestinationTests.kt:140)









> Task :notifications:compileTestKotlin
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/test/kotlin/org/opensearch/integtest/config/MicrosoftTeamsNotificationConfigCrudIT.kt:152:13 Variable 'response' is never used
w: file:///build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/src/test/kotlin/org/opensearch/notifications/action/PluginActionTests.kt:205:13 Variable 'notificationId' is never used








WARNING: Illegal reflective access by io.mockk.proxy.jvm.advice.MethodCall (file:/build/.gradle/caches/modules-2/files-2.1/io.mockk/mockk-agent-jvm/1.11.0/424bbf69d819f115f8f5df9e7a897f680a483310/mockk-agent-jvm-1.11.0.jar) to method java.net.InetAddress.getAllByName(java.lang.String,java.net.InetAddress)
WARNING: Illegal reflective access by io.mockk.proxy.jvm.advice.MethodCall (file:/build/.gradle/caches/modules-2/files-2.1/io.mockk/mockk-agent-jvm/1.11.0/424bbf69d819f115f8f5df9e7a897f680a483310/mockk-agent-jvm-1.11.0.jar) to method java.net.InetAddress.validate(java.lang.String)
WARNING: Illegal reflective access by io.mockk.proxy.jvm.advice.MethodCall (file:/build/.gradle/caches/modules-2/files-2.1/io.mockk/mockk-agent-jvm/1.11.0/424bbf69d819f115f8f5df9e7a897f680a483310/mockk-agent-jvm-1.11.0.jar) to method java.net.InetAddress.getAllByName0(java.lang.String,java.net.InetAddress,boolean,boolean)
WARNING: Illegal reflective access by io.mockk.proxy.jvm.advice.MethodCall (file:/build/.gradle/caches/modules-2/files-2.1/io.mockk/mockk-agent-jvm/1.11.0/424bbf69d819f115f8f5df9e7a897f680a483310/mockk-agent-jvm-1.11.0.jar) to method java.net.InetAddress.getAddressesFromNameService(java.lang.String,java.net.InetAddress)
WARNING: Illegal reflective access by io.mockk.proxy.jvm.advice.MethodCall (file:/build/.gradle/caches/modules-2/files-2.1/io.mockk/mockk-agent-jvm/1.11.0/424bbf69d819f115f8f5df9e7a897f680a483310/mockk-agent-jvm-1.11.0.jar) to method java.net.InetAddress.validate(java.lang.String)









> Task :notifications:forbiddenApisTest
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT (MaxHTTPResponseSizeIT.kt, field declaration of 'server')
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT (MaxHTTPResponseSizeIT.kt:39)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT (MaxHTTPResponseSizeIT.kt:39)
Forbidden annotation use: org.junit.Test [defaultMessage Just name your test method testFooBar]
  in org.opensearch.notifications.metrics.RollingCounterTest (RollingCounterTest.java, annotation on method declaration of 'increment()')
Forbidden annotation use: org.junit.Test [defaultMessage Just name your test method testFooBar]
  in org.opensearch.notifications.metrics.RollingCounterTest (RollingCounterTest.java, annotation on method declaration of 'add()')
Forbidden annotation use: org.junit.Test [defaultMessage Just name your test method testFooBar]
  in org.opensearch.notifications.metrics.RollingCounterTest (RollingCounterTest.java, annotation on method declaration of 'trim()')
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:70)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:72)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:72)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:72)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:75)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:81)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt, method declaration of 'setupWebhook$lambda$0(com.sun.net.httpserver.HttpExchange)')
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT$Companion (SendTestMessageWithMockServerIT.kt:73)
Forbidden annotation use: org.junit.Test [defaultMessage Just name your test method testFooBar]
  in org.opensearch.notifications.metrics.BasicCounterTest (BasicCounterTest.java, annotation on method declaration of 'increment()')
Forbidden annotation use: org.junit.Test [defaultMessage Just name your test method testFooBar]
  in org.opensearch.notifications.metrics.BasicCounterTest (BasicCounterTest.java, annotation on method declaration of 'incrementN()')
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:83)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:85)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:85)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:85)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:93)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:99)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt, method declaration of 'setupWebhook$lambda$0(com.sun.net.httpserver.HttpExchange)')
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:87)
Forbidden class/interface use: com.sun.net.httpserver.HttpExchange [non-portable or internal runtime class]
  in org.opensearch.integtest.MaxHTTPResponseSizeIT$Companion (MaxHTTPResponseSizeIT.kt:88)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT (SendTestMessageWithMockServerIT.kt, field declaration of 'server')
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT (SendTestMessageWithMockServerIT.kt:24)
Forbidden class/interface use: com.sun.net.httpserver.HttpServer [non-portable or internal runtime class]
  in org.opensearch.integtest.send.SendTestMessageWithMockServerIT (SendTestMessageWithMockServerIT.kt:24)
Forbidden method invocation: java.lang.Class#getDeclaredMethod(java.lang.String, java.lang.Class[]) [Do not violate java's access system: Use getMethod() instead]
  in org.opensearch.notifications.index.ConfigIndexingActionsTests$Companion (ConfigIndexingActionsTests.kt:38)
Forbidden method invocation: java.lang.reflect.AccessibleObject#setAccessible(boolean) [Do not violate java's access system]
  in org.opensearch.notifications.index.ConfigIndexingActionsTests$Companion (ConfigIndexingActionsTests.kt:44)
Forbidden method invocation: java.lang.Class#getDeclaredMethod(java.lang.String, java.lang.Class[]) [Do not violate java's access system: Use getMethod() instead]
  in org.opensearch.notifications.index.NotificationConfigIndexTests$Companion (NotificationConfigIndexTests.kt:64)
Forbidden method invocation: java.lang.reflect.AccessibleObject#setAccessible(boolean) [Do not violate java's access system]
  in org.opensearch.notifications.index.NotificationConfigIndexTests$Companion (NotificationConfigIndexTests.kt:69)









> Task :notifications:test

ConfigIndexingActionsTests > test validate microsoft teams() PASSED




NotificationConfigIndexTests > test get non number schema_version throw exception() PASSED



NotificationConfigIndexTests > test get schema version without _meta field() PASSED

NotificationConfigIndexTests > test get schema version without schema_version field() PASSED

NotificationConfigIndexTests > test get schema version() PASSED








DocMetadataTests > DocMetadata should safely ignore extra field in json object() PASSED



DocMetadataTests > DocMetadata should throw exception if created_time_ms is absent in json() PASSED



DocMetadataTests > DocMetadata serialize and deserialize using json config object should be equal() PASSED



DocMetadataTests > DocMetadata should throw exception if last_updated_time_ms is absent in json() PASSED

DocMetadataTests > DocMetadata should take empty list when access field is absent in json object() PASSED






SendTestNotificationRequestTests > Send test request should safely ignore extra field in json object() PASSED



SendTestNotificationRequestTests > Send test request should throw exception when invalid json object is passed() PASSED

SendTestNotificationRequestTests > Send test request should return exception when configId is empty for validate() PASSED






SendTestNotificationRequestTests > Send test request serialize and deserialize using json object should be equal() PASSED



SendTestNotificationRequestTests > Send test request should throw exception if configId field is absent in json object() PASSED

SendTestNotificationRequestTests > Send test request should return null for valid request() PASSED






SendTestNotificationRequestTests > Send test request serialize and deserialize transport object should be equal() PASSED



SuspendUtilsTests > test SuspendUntilTimeout RuntimeException() PASSED

SuspendUtilsTests > test SuspendUntilTimeout TimeoutCancellationException() PASSED





PluginSettingsTests > test filter by backend roles setting uses notifications setting() PASSED



PluginSettingsTests > test filter by backend roles setting falls back to alerting setting() PASSED

PluginSettingsTests > test filter by backend roles setting falls back to alerting legacy setting when newer settings are not set() PASSED






PluginSettingsTests > test filter by backend roles setting prioritizes notifications setting() PASSED

PluginSettingsTests > test update settings should take cluster settings if available() PASSED

PluginSettingsTests > test update settings should fall back to node settings if cluster settings is not available() PASSED

PluginSettingsTests > test get all settings as defaults() PASSED









PluginActionTests > Update notification config action should call back action listener() PASSED



PluginActionTests > Get plugin features action should call back action listener() PASSED



PluginActionTests > Send notification action should call back action listener() PASSED



PluginActionTests > Delete notification config action should call back action listener() PASSED



PluginActionTests > Publish notification action should call back action listener() PASSED



PluginActionTests > Create notification config action should call back action listener() PASSED



PluginActionTests > Get channel list action should call back action listener() PASSED



PluginActionTests > Get notification config action should call back action listener() PASSED



NotificationConfigDocTests > Config doc should throw exception if config is absent in json() PASSED



NotificationConfigDocTests > Config doc should throw exception if metadata is absent in json() PASSED

NotificationConfigDocTests > Config doc should safely ignore extra field in json object() PASSED






NotificationConfigDocTests > Config doc serialize and deserialize using json config object should be equal() PASSED



Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 8m 30s
50 actionable tasks: 50 executed







[?12l[?25h==> Entering fakeroot environment...
==> Starting package()...
Archive:  /build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/notifications/build/distributions/opensearch-notifications-2.19.1.0.zip
  inflating: plugin-descriptor.properties  
  inflating: plugin-security.policy  
  inflating: opensearch-notifications-2.19.1.0.jar  
  inflating: kotlin-stdlib-common-1.8.21.jar  
  inflating: common-utils-2.19.1.0.jar  
  inflating: kotlinx-coroutines-core-jvm-1.4.3.jar  
   creating: config/
  inflating: config/notifications.yml  
Archive:  /build/opensearch-notifications-plugin/src/notifications-2.19.1.0/notifications/core/build/distributions/opensearch-notifications-core-2.19.1.0.zip
  inflating: plugin-descriptor.properties  
  inflating: plugin-security.policy  
  inflating: opensearch-notifications-core-2.19.1.0.jar  
  inflating: commons-logging-1.2.jar  
  inflating: kotlin-stdlib-1.8.21.jar  
  inflating: kotlin-stdlib-common-1.8.21.jar  
  inflating: httpcore-4.4.16.jar     
  inflating: httpclient-4.5.14.jar   
  inflating: jackson-databind-2.18.2.jar  
  inflating: jackson-annotations-2.18.2.jar  
  inflating: aws-java-sdk-core-1.12.687.jar  
  inflating: aws-java-sdk-sns-1.12.687.jar  
  inflating: aws-java-sdk-sts-1.12.687.jar  
  inflating: aws-java-sdk-ses-1.12.687.jar  
  inflating: javax.mail-1.6.2.jar    
  inflating: activation-1.1.jar      
  inflating: opensearch-notifications-core-spi-2.19.1.0.jar  
   creating: config/
  inflating: config/notifications-core.yml  
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "opensearch-notifications-plugin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: opensearch-notifications-plugin 2.19.1.0-1 (Wed May  7 06:29:36 2025)
==> Cleaning up...