[infinispan-issues] [JBoss JIRA] (HRJS-88) js-client SSL tests are failing

Anna Manukyan (Jira) issues at jboss.org
Mon Mar 16 12:54:21 EDT 2020


     [ https://issues.redhat.com/browse/HRJS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anna Manukyan reassigned HRJS-88:
---------------------------------

    Assignee: Katia Aresti


> js-client SSL tests are failing
> -------------------------------
>
>                 Key: HRJS-88
>                 URL: https://issues.redhat.com/browse/HRJS-88
>             Project: Infinispan Javascript client
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Anna Manukyan
>            Assignee: Katia Aresti
>            Priority: Major
>
> The js-client SSL tests are failing with the following messages:
> {code}
> + ./node_modules/.bin/jasmine-node --junitreport --captureExceptions spec/
> creating junit xml report save path: ./reports/
> .............................................................05:58:30,548 WARN  (SINGLE_PORT-ServerIO-6-2) [org.infinispan.server.hotrod.HotRodHeader] ISPN006010: Conditional operation 'PUT_IF_ABSENT' should be used with transactional caches, otherwise data inconsistency issues could arise under failure situations
> 05:58:30,571 WARN  (SINGLE_PORT-ServerIO-6-3) [org.infinispan.server.hotrod.HotRodHeader] ISPN006010: Conditional operation 'PUT_IF_ABSENT' should be used with transactional caches, otherwise data inconsistency issues could arise under failure situations
> ..................05:59:39,914 WARN  (SINGLE_PORT-ServerIO-6-3) [org.infinispan.server.hotrod.HotRodHeader] ISPN006011: Operation 'PUT_IF_ABSENT' forced to return previous value should be used on transactional caches, otherwise data inconsistency issues could arise under failure situations
> ..............................................05:59:41,840 INFO  (HotRod-ssl-trust-ServerIO-6-1) [org.infinispan.SECURITY] ISPN000946: Using OpenSSL Provider
> .F05:59:42,324 INFO  (HotRod-ssl-auth-ServerIO-6-1) [org.infinispan.SECURITY] ISPN000946: Using OpenSSL Provider
> F05:59:42,649 INFO  (HotRod-ssl-sni-ServerIO-6-1) [org.infinispan.SECURITY] ISPN000946: Using OpenSSL Provider
> 05:59:42,717 INFO  (HotRod-ssl-sni-ServerIO-6-1) [org.wildfly.openssl.SSL] WFOPENSSL0002 OpenSSL Version OpenSSL 1.1.1c FIPS  28 May 2019
> FFFFFF..FFFFFF................
> Failures:
>   1) Infinispan TLS/SSL client can operate on data via crypto store trusted encrypted transport
>    Message:
>      Error: Client network socket disconnected before secure TLS connection was established
>    Stacktrace:
>      Error: Client network socket disconnected before secure TLS connection was established
>     at TLSSocket.onConnectEnd (_tls_wrap.js:1095:19)
>     at Object.onceWrapper (events.js:286:20)
>     at TLSSocket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1145:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
>   2) Infinispan TLS/SSL client can operate on data via authenticated encrypted transport
>    Message:
>      Error: Client network socket disconnected before secure TLS connection was established
>    Stacktrace:
>      Error: Client network socket disconnected before secure TLS connection was established
>     at TLSSocket.onConnectEnd (_tls_wrap.js:1095:19)
>     at Object.onceWrapper (events.js:286:20)
>     at TLSSocket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1145:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
>   3) Infinispan TLS/SSL client can operate on data via SNI trusted encrypted transport
>    Message:
>      Error: Client network socket disconnected before secure TLS connection was established
>    Stacktrace:
>      Error: Client network socket disconnected before secure TLS connection was established
>     at TLSSocket.onConnectEnd (_tls_wrap.js:1095:19)
>     at Object.onceWrapper (events.js:286:20)
>     at TLSSocket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1145:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
>   4) Infinispan TLS/SSL client can operate on data via SNI trusted encrypted transport while having multiple identities
>    Message:
>      Error: Client network socket disconnected before secure TLS connection was established
>    Stacktrace:
>      Error: Client network socket disconnected before secure TLS connection was established
>     at TLSSocket.onConnectEnd (_tls_wrap.js:1095:19)
>     at Object.onceWrapper (events.js:286:20)
>     at TLSSocket.emit (events.js:203:15)
>     at endReadableNT (_stream_readable.js:1145:12)
>     at process._tickCallback (internal/process/next_tick.js:63:19)
>   5) Infinispan TLS/SSL client fails to operate if default server name (SNI) does not match default server realm
>    Message:
>      Error: [self signed certificate in certificate chain] does not contain any of: [Hostname/IP doesn't match certificate's altnames]
>    Stacktrace:
>      Error: [self signed certificate in certificate chain] does not contain any of: [Hostname/IP doesn't match certificate's altnames]
>     at toContainAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:343:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:218:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   6) Infinispan TLS/SSL client fails to operate if server name (SNI) and trusted certificate are incorrect
>    Message:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [CERT_SIGNATURE_FAILURE,certificate signature failure,self signed certificate in certificate chain]
>    Stacktrace:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [CERT_SIGNATURE_FAILURE,certificate signature failure,self signed certificate in certificate chain]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   7) Infinispan TLS/SSL client fails to operate if server name (SNI) is not provided, but certificate is trusted
>    Message:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>    Stacktrace:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   8) Infinispan TLS/SSL client fails to operate if server name (SNI) has no valid certificate
>    Message:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate in certificate chain]
>    Stacktrace:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate in certificate chain]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   9) Infinispan TLS/SSL client fails to operate if no encrypted transport is provided
>    Message:
>      Error: [self signed certificate in certificate chain] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate]
>    Stacktrace:
>      Error: [self signed certificate in certificate chain] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   10) Infinispan TLS/SSL client fails to operate if key for authenticated encrypted transport is missing
>    Message:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>    Stacktrace:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   11) Infinispan TLS/SSL client fails to operate if passphrase for authenticated encrypted transport is missing
>    Message:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>    Stacktrace:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   12) Infinispan TLS/SSL client fails to operate if cert path for authenticated encrypted transport is missing
>    Message:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>    Stacktrace:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   13) Infinispan TLS/SSL client fails to operate if authenticated encrypted transport is missing
>    Message:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>    Stacktrace:
>      Error: [Expected operation to fail] is not any of: [CERT_SIGNATURE_FAILURE,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
>   14) Infinispan TLS/SSL client fails to operate if trusted certificate is missing for authenticated encrypted transport
>    Message:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate]
>    Stacktrace:
>      Error: [Client network socket disconnected before secure TLS connection was established] is not any of: [SELF_SIGNED_CERT_IN_CHAIN,self signed certificate]
>     at toBeAnyOf (/home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:335:10)
>     at /home/jenkins/workspace/jdg-js-client/USE_JDK/JDK/jdk/java18_default/label/JDG-RHEL8-latest/js-client/spec/infinispan_ssl_spec.js:226:9
>     at process._tickCallback (internal/process/next_tick.js:68:7)
> Finished in 114.976 seconds
> 158 tests, 650 assertions, 14 failures, 0 skipped
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the infinispan-issues mailing list