Started by user admin
[Pipeline] Allocate node : Start
Running on jenkins-agent.example.com in /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent
[Pipeline] node {
[Pipeline] sh
[test-ssh-agent] Running shell script
+ docker inspect -f . cloudbees/java-build-tools:0.0.7.1
.
[Pipeline] Run build steps inside a Docker container : Start
$ docker run -t -d -u 1000:1000 -w /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent -v /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent:/home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent:rw -v /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp:/home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** cloudbees/java-build-tools:0.0.7.1 cat
[Pipeline] withDockerContainer {
[Pipeline] sh
[test-ssh-agent] Running shell script
+ whoami
jenkins
[Pipeline] sh
[test-ssh-agent] Running shell script
+ ls -al /home/jenkins/.ssh/
ls: cannot access /home/jenkins/.ssh/: No such file or directory
+ true
[Pipeline] SSH Agent : Start
[ssh-agent] Using credentials ubuntu (cleclerc-us-east.pem)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Java/JNR ssh-agent
[ssh-agent] Started.
[Pipeline] sshagent {
[Pipeline] sh
[test-ssh-agent] Running shell script
+ echo SSH_AUTH_SOCK=/home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp/ssh6518756508609205542
SSH_AUTH_SOCK=/home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp/ssh6518756508609205542
[Pipeline] sh
[test-ssh-agent] Running shell script
+ ls -al /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp/ssh6518756508609205542
srw------- 1 jenkins jenkins 0 Mar 4 09:58 /home/ubuntu/jenkins-aws-home/workspace/tests/test-ssh-agent@tmp/ssh6518756508609205542
[Pipeline] sh
[test-ssh-agent] Running shell script
+ ssh -vvv -o StrictHostKeyChecking=no ubu...@jenkins-agent.example.com uname -a
OpenSSH_6.7p1 Ubuntu-5ubuntu1.4, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to jenkins-agent.example.com [52.90.106.69] port 22.
debug1: Connection established.
debug1: SELinux support disabled
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jenkins/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Ubuntu-5ubuntu1.4
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.4
debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.4 pat OpenSSH_6.6.1* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-...@openssh.com,ecdsa-sha2-nistp384-cert-...@openssh.com,ecdsa-sha2-nistp521-cert-...@openssh.com,ssh-ed25519-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ssh-rsa-cert-...@openssh.com,ssh-dss-cert-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit: umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-sha1-...@openssh.com,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: curve25519-sha...@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-...@openssh.com,aes256-...@openssh.com,chacha20-poly1...@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-...@openssh.com,hmac-sha1-...@openssh.com,umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-sha1,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-...@openssh.com,hmac-sha1-...@openssh.com,umac-64-...@openssh.com,umac-128-...@openssh.com,hmac-sha2-256-...@openssh.com,hmac-sha2-512-...@openssh.com,hmac-ripemd160-...@openssh.com,hmac-sha1-96-...@openssh.com,hmac-md5-96-...@openssh.com,hmac-md5,hmac-sha1,umac...@openssh.com,umac-...@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com
debug2: kex_parse_kexinit: none,z...@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: setup umac-64-...@openssh.com
debug1: kex: server->client aes128-ctr umac-64-...@openssh.com none
debug2: mac_setup: setup umac-64-...@openssh.com
debug1: kex: client->server aes128-ctr umac-64-...@openssh.com none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA e3:18:04:46:56:bc:ef:bf:8b:e2:01:55:1d:ea:02:90
Warning: Permanently added 'jenkins-agent.example.com,52.90.106.69' (ECDSA) to the list of known hosts.
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: ubuntu (cleclerc-us-east.pem) (0x7f8f0be62500),
debug2: key: /home/jenkins/.ssh/id_rsa ((nil)),
debug2: key: /home/jenkins/.ssh/id_dsa ((nil)),
debug2: key: /home/jenkins/.ssh/id_ecdsa ((nil)),
debug2: key: /home/jenkins/.ssh/id_ed25519 ((nil)),
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: ubuntu (cleclerc-us-east.pem)
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp 07:a9:cf:fa:16:ce:d8:61:4d:49:75:4b:5e:69:d1:71
debug3: sign_and_send_pubkey: RSA 07:a9:cf:fa:16:ce:d8:61:4d:49:75:4b:5e:69:d1:71
debug1: Authentication succeeded (publickey).
Authenticated to jenkins-agent.example.com ([52.90.106.69]:22).
debug2: fd 4 setting O_NONBLOCK
debug2: fd 5 setting O_NONBLOCK
debug3: fd 6 is O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x08
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug3: Ignored env JENKINS_HOME
debug3: Ignored env HOSTNAME
debug3: Ignored env HUDSON_URL
debug3: Ignored env HOME
debug3: Ignored env BUILD_URL
debug3: Ignored env JENKINS_SERVER_COOKIE
debug3: Ignored env MAVEN_HOME
debug3: Ignored env SCREEN_HEIGHT
debug3: Ignored env NODE_NAME
debug3: Ignored env EXECUTOR_NUMBER
debug3: Ignored env TERM
debug3: Ignored env BUILD_DISPLAY_NAME
debug3: Ignored env HUDSON_HOME
debug3: Ignored env PATH
debug3: Ignored env SCREEN_DEPTH
debug3: Ignored env BUILD_ID
debug3: Ignored env BUILD_TAG
debug3: Ignored env DISPLAY
debug3: Ignored env JENKINS_URL
debug3: Ignored env JOB_URL
debug3: Ignored env BUILD_NUMBER
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env HUDSON_SERVER_COOKIE
debug3: Ignored env MAVEN_VERSION
debug3: Ignored env CLASSPATH
debug3: Ignored env JOB_NAME
debug3: Ignored env SCREEN_WIDTH
debug3: Ignored env PWD
debug1: Sending command: uname -a
debug2: channel 0: request exec confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
debug2: channel 0: read<=0 rfd 4 len 0
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
Linux ip-10-0-0-151 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
debug3: fd 2 is not O_NONBLOCK
Transferred: sent 3320, received 2612 bytes, in 0.3 seconds
Bytes per second: sent 13206.8, received 10390.4
debug1: Exit status 0
[Pipeline] } //sshagent
[Pipeline] SSH Agent : End
[Pipeline] } //withDockerContainer
$ docker stop 0b7bc4dc0f8e892b9afb4cc5af483c53f4501120fa0e4f57312f874b4d5f163b
$ docker rm -f 0b7bc4dc0f8e892b9afb4cc5af483c53f4501120fa0e4f57312f874b4d5f163b
[Pipeline] Run build steps inside a Docker container : End
[Pipeline] sh
[test-ssh-agent] Running shell script
+ ls -al /tmp
total 208
drwxrwxrwt 6 root root 4096 Mar 4 09:58 .
drwxr-xr-x 22 root root 4096 Feb 26 09:23 ..
drwxr-xr-x 2 ubuntu ubuntu 4096 Mar 4 09:27 hsperfdata_ubuntu
drwxrwxrwt 2 root root 4096 Feb 26 09:23 .ICE-unix
-rw-rw-r-- 1 ubuntu ubuntu 90382 Mar 4 09:58 jffi3769786753188199154.tmp
-rw-rw-r-- 1 ubuntu ubuntu 90382 Mar 4 09:58 jffi7534679475616672633.tmp
drwxrwxr-x 2 ubuntu ubuntu 4096 Mar 4 09:27 jna--851256601
drwxrwxrwt 2 root root 4096 Feb 26 09:23 .X11-unix
[Pipeline] } //node
[Pipeline] Allocate node : End
[Pipeline] End of Pipeline
Finished: SUCCESS