Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2921

Update Jenkins config to use up-to-date AMI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Nuxeo Bench
    • Team:
      DevTools
    • Sprint:
      DevTools-09

      Description

      The dynamic slaves "AWS bench slave" started by the reference benchmark does not work all the time.

      Sometimes it takes 15 or 18min before the agent can connect:

      EC2 (eu-west-1) - AWS bench slave - c3.xlarge (i-0eae53421664dcd57)/log
      
      Jul 11, 2019 12:39:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: Launching instance: i-0eae53421664dcd57
      Jul 11, 2019 12:39:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: bootstrap()
      Jul 11, 2019 12:39:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: Getting keypair...
      Jul 11, 2019 12:39:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: Using key: jenkins-pub
      a6:d6:7e:aa:30:38:df:de:28:bb:cf:d7:ca:3c:e0:ff
      -----BEGIN RSA PRIVATE KEY-----
      *****
      Jul 11, 2019 12:39:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: Authenticating as jenkins
      Jul 11, 2019 12:39:08 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:39:18 PM hudson.plugins.ec2.EC2Cloud
      INFO: Failed to connect via ssh: The kexTimeout (10000 ms) expired.
      Jul 11, 2019 12:39:18 PM hudson.plugins.ec2.EC2Cloud
      INFO: Waiting for SSH to come up. Sleeping 5.
      Jul 11, 2019 12:39:23 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:39:33 PM hudson.plugins.ec2.EC2Cloud
      INFO: Failed to connect via ssh: The kexTimeout (10000 ms) expired.
      Jul 11, 2019 12:39:33 PM hudson.plugins.ec2.EC2Cloud
      INFO: Waiting for SSH to come up. Sleeping 5.
      Jul 11, 2019 12:39:38 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:39:45 PM hudson.plugins.ec2.EC2Cloud
      INFO: Failed to connect via ssh: There was a problem while connecting to 192.168.69.159:2222
      Jul 11, 2019 12:39:45 PM hudson.plugins.ec2.EC2Cloud
      INFO: Waiting for SSH to come up. Sleeping 5.
      Jul 11, 2019 12:39:50 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:39:50 PM hudson.plugins.ec2.EC2Cloud
      INFO: Failed to connect via ssh: There was a problem while connecting to 192.168.69.159:2222
      ....
      INFO: Failed to connect via ssh: There was a problem while connecting to 192.168.69.159:2222
      Jul 11, 2019 12:53:58 PM hudson.plugins.ec2.EC2Cloud
      INFO: Waiting for SSH to come up. Sleeping 5.
      
      Jul 11, 2019 12:54:03 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:54:03 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connected via SSH.
      
      Jul 11, 2019 12:54:04 PM hudson.plugins.ec2.EC2Cloud
      INFO: connect fresh as root
      Jul 11, 2019 12:54:04 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connecting to 192.168.69.159 on port 2222, with timeout 10000.
      Jul 11, 2019 12:54:04 PM hudson.plugins.ec2.EC2Cloud
      INFO: Connected via SSH.
      Jul 11, 2019 12:54:05 PM hudson.plugins.ec2.EC2Cloud
      INFO: Creating tmp directory (/tmp) if it does not exist
      
      Jul 11, 2019 12:54:07 PM hudson.plugins.ec2.EC2Cloud
      INFO: Verifying: java -fullversion
      
      java full version "1.8.0_191-b12"
      Jul 11, 2019 12:54:10 PM hudson.plugins.ec2.EC2Cloud
      INFO: Verifying: which scp
      /usr/bin/scp
      Jul 11, 2019 12:54:10 PM hudson.plugins.ec2.EC2Cloud
      INFO: Copying slave.jar to: /tmp
      Jul 11, 2019 12:54:10 PM hudson.plugins.ec2.EC2Cloud
      INFO: Launching slave agent (via Trilead SSH2 Connection):  java  -jar /tmp/slave.jar
      
      <===[JENKINS REMOTING CAPACITY]===>Remoting version: 3.29
      This is a Unix agent
      
      Evacuated stdout
      
      Agent successfully connected and online
      

      Sometimes it timeouts.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: