java.lang.InternalError

Google Groups | Chris Nuber | 3 months ago
  1. 0

    Trying to add dumb Fedora slaves (F22) to Jenkins master. Keep getting exceptions. SSH auth works fine, but after slave.jar is executed channel between master and slave is terminated. Error: [05/16/16 21:14:53] [SSH] Opening SSH connection to <myserver>:22. [05/16/16 21:14:53] [SSH] Authentication successful. [05/16/16 21:14:53] [SSH] The remote users environment is: BASH=/usr/bin/bash BASHOPTS=cmdhist:complete_fullquote:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="4" [1]="3" [2]="33" [3]="1" [4]="release" [5]="x86_64-redhat-linux-gnu") BASH_VERSION='4.3.33(1)-release' DIRSTACK=() EUID=5495 GROUPS=() HOME=/var/lib/jenkins HOSTNAME=<myserver>.domain.com HOSTTYPE=x86_64 IFS=$' \t\n' LOGNAME=jenkins MACHTYPE=x86_64-redhat-linux-gnu MAIL=/var/mail/jenkins OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/local/bin:/usr/bin PPID=5621 PS4='+ ' PWD=/var/lib/jenkins SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.114.5.95 57534 22' SSH_CONNECTION='10.114.5.95 57534 10.114.5.88 22' TERM=dumb UID=5495 USER=jenkins XDG_RUNTIME_DIR=/run/user/5495 XDG_SESSION_ID=75 _=bash [05/16/16 21:14:53] [SSH] Checking java version of java [05/16/16 21:14:53] [SSH] java -version returned 1.8.0_91. [05/16/16 21:14:53] [SSH] Starting sftp client. [05/16/16 21:14:53] [SSH] Copying latest slave.jar... [05/16/16 21:14:53] [SSH] Copied 506,667 bytes. Expanded the channel window size to 4MB [05/16/16 21:14:53] [SSH] Starting slave process: cd "/var/lib/jenkins" && java -jar slave.jar -slaveLog log.txt <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.53.3 This is a Unix slave hudson.util.IOException2: Slave JVM has not reported exit code. Is it still running? at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:984) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:137) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:725) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Remote call on sbu-jslave01 failed at hudson.remoting.Channel.call(Channel.java:789) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:536) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:381) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:976) ... 7 more Caused by: java.lang.InternalError at sun.security.ec.SunEC.initialize(Native Method) at sun.security.ec.SunEC.access$000(SunEC.java:49) at sun.security.ec.SunEC$1.run(SunEC.java:61) at sun.security.ec.SunEC$1.run(SunEC.java:58) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ec.SunEC.<clinit>(SunEC.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.loadAll(ProviderList.java:282) at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299) at sun.security.jca.Providers.getFullProviderList(Providers.java:173) at java.security.Security.removeProvider(Security.java:440) at hudson.slaves.SlaveComputer$SlaveInitializer.call(SlaveComputer.java:815) at hudson.slaves.SlaveComputer$SlaveInitializer.call(SlaveComputer.java:802) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to sbu-jslave01(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 10 more [05/16/16 21:14:57] Launch failed - cleaning up connection [05/16/16 21:14:57] [SSH] Connection closed. ERROR: Connection terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2353) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2822) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:301) at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 7 months ago | Sergey Leonovich
    hudson.util.IOException2: Slave JVM has not reported exit code. Is it still running?
  2. 0

    FULL PRODUCT VERSION : openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode) ADDITIONAL OS VERSION INFORMATION : Linux bd4af4f88e77 4.4.6-201.fc22.x86_64 #1 SMP Wed Mar 30 18:30:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux EXTRA RELEVANT SYSTEM CONFIGURATION : Running inside a docker container. Put the following in Dockerfile FROM fedora:23 # install base tools RUN dnf install -y wget curl tar zip unzip bc which net-tools findutils # Refresh package cache, followed by install openjdk jre and jdk RUN dnf makecache && dnf install -yv java-1.8.0-openjdk-headless-debug java-1.8.0-openjdk-devel-debug A DESCRIPTION OF THE PROBLEM : This problem only happens inside a Docker container. I do not see any difference in setup or environment between the host and the container though. I'd be happy to provide additional information if needed. The error message is not helpful. Is there any debug setting? STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Calling any crypto code ends up initializing the crypto providers and causes the fatal error. ERROR MESSAGES/STACK TRACES THAT OCCUR : Exception in thread "main" java.lang.InternalError at sun.security.ec.SunEC.initialize(Native Method) at sun.security.ec.SunEC.access$000(SunEC.java:49) at sun.security.ec.SunEC$1.run(SunEC.java:61) at sun.security.ec.SunEC$1.run(SunEC.java:58) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ec.SunEC.<clinit>(SunEC.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:233) at sun.security.jca.ProviderList.getService(ProviderList.java:331) at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156) at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96) at Test.main(Test.java:13) REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- import java.io.IOException; import java.io.InputStream; import java.net.Socket; import java.security.NoSuchAlgorithmException; import javax.net.ssl.SSLContext; import javax.net.ssl.SSLEngine; public class Test { public static void main(String[] args) throws NoSuchAlgorithmException, Exception { Socket s = SSLContext.getDefault().getSocketFactory().createSocket("google.com", 443); s.getOutputStream().write("GET / HTTP/1.0\r\n\r\n".getBytes()); InputStream inputStream = s.getInputStream(); int c; while ((c = inputStream.read()) > -1) System.out.print((char)c); } } ---------- END SOURCE ----------

    JDK Bug System | 7 months ago | Webbug Group
    java.lang.InternalError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Namenode fails to start.

    GitHub | 4 months ago | wadujj
    java.lang.InternalError
  5. 0

    https://jenkins-modules.puppetlabs.com/view/4.%20cross%20platform/view/java_ks/view/java_ks%20-%20master/job/forge-module_puppetlabs-java-ks_intn-sys_smoke-master/24/PLATFORM=redhat-7-64mda,WORKER_LABEL=beaker/consoleFull java-ks (master): Step 5 -- Acceptance Smoke Tests > 1.4.1-b20027-dea0136e > redhat-7-64mda,beaker Fails with: {code} managing combined java chain keys ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) 09:02:56$ facter osfamily RedHat ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) executed in 0.06 seconds ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) 09:02:56$ mktemp -t apply_manifest.pp.XXXXXX /tmp/apply_manifest.pp.6uh3yQ ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) executed in 0.01 seconds localhost $ scp /tmp/beaker20160729-11666-1hmruai redhat-7-x86_64-agent:/tmp/apply_manifest.pp.6uh3yQ {:ignore => } ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) 09:02:56$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.6uh3yQ Info: Loading facts Info: Loading facts Notice: Compiled catalog for ol9hyyc69jgak7n.delivery.puppetlabs.net in environment production in 0.06 seconds Info: Applying configuration version '1469808178' Error: Execution of 'keytool -importkeystore -srcstoretype PKCS12 -destkeystore /etc/chain_combined_key.ks -srckeystore /tmp/broker.example.com.20160729-3364-8h2qqr -alias broker.example.com' returned 1: Enter destination keystore password: Re-enter new password: Exception in thread "main" java.lang.InternalError at sun.security.ec.SunEC.initialize(Native Method) at sun.security.ec.SunEC.access$000(SunEC.java:49) at sun.security.ec.SunEC$1.run(SunEC.java:61) at sun.security.ec.SunEC$1.run(SunEC.java:58) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ec.SunEC.<clinit>(SunEC.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:233) at sun.security.jca.ProviderList.getService(ProviderList.java:331) at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) at java.security.Security.getImpl(Security.java:694) at java.security.KeyStore.getInstance(KeyStore.java:625) at sun.security.tools.keytool.Main.loadSourceKeyStore(Main.java:1778) at sun.security.tools.keytool.Main.doImportKeyStore(Main.java:1836) at sun.security.tools.keytool.Main.doCommands(Main.java:1007) at sun.security.tools.keytool.Main.run(Main.java:337) at sun.security.tools.keytool.Main.main(Main.java:330) Error: /Stage[main]/Main/Java_ks[broker.example.com:/etc/chain_combined_key.ks]/ensure: change from absent to latest failed: Execution of 'keytool -importkeystore -srcstoretype PKCS12 -destkeystore /etc/chain_combined_key.ks -srckeystore /tmp/broker.example.com.20160729-3364-8h2qqr -alias broker.example.com' returned 1: Enter destination keystore password: Re-enter new password: Exception in thread "main" java.lang.InternalError at sun.security.ec.SunEC.initialize(Native Method) at sun.security.ec.SunEC.access$000(SunEC.java:49) at sun.security.ec.SunEC$1.run(SunEC.java:61) at sun.security.ec.SunEC$1.run(SunEC.java:58) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ec.SunEC.<clinit>(SunEC.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:233) at sun.security.jca.ProviderList.getService(ProviderList.java:331) at sun.security.jca.GetInstance.getInstance(GetInstance.java:157) at java.security.Security.getImpl(Security.java:694) at java.security.KeyStore.getInstance(KeyStore.java:625) at sun.security.tools.keytool.Main.loadSourceKeyStore(Main.java:1778) at sun.security.tools.keytool.Main.doImportKeyStore(Main.java:1836) at sun.security.tools.keytool.Main.doCommands(Main.java:1007) at sun.security.tools.keytool.Main.run(Main.java:337) at sun.security.tools.keytool.Main.main(Main.java:330) Notice: Applied catalog in 0.41 seconds ol9hyyc69jgak7n.delivery.puppetlabs.net (redhat-7-x86_64-agent) executed in 2.65 seconds Exited: 4 creates a private key with chain certs (FAILED - 1) {code} The same code has passed travis on Centos7. Rekicking didn't clear up the issue. RHEL6 has the same issue: https://jenkins-modules.puppetlabs.com/view/4.%20cross%20platform/view/java_ks/view/java_ks%20-%20master/job/forge-module_puppetlabs-java-ks_intn-sys_smoke-master/24/PLATFORM=redhat-6-64mda,WORKER_LABEL=beaker/consoleFull

    JIRA | 4 months ago | David Schmitt
    java.lang.InternalError

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

      No message provided

      at sun.security.ec.SunEC.initialize()
    2. sun.security.ec
      SunEC$1.run
      1. sun.security.ec.SunEC.initialize(Native Method)
      2. sun.security.ec.SunEC.access$000(SunEC.java:49)
      3. sun.security.ec.SunEC$1.run(SunEC.java:61)
      4. sun.security.ec.SunEC$1.run(SunEC.java:58)
      4 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. sun.security.ec
      SunEC.<clinit>
      1. sun.security.ec.SunEC.<clinit>(SunEC.java:58)
      1 frame