| CONSOLE OUTPUT |
| [...truncated 1393 lines...] |
| + export PS1 |
| + alias pydoc=python -m pydoc |
| + [ -n -o -n ] |
| + pip install -U -r https://raw.github.com/nuxeo/nuxeo-demo-deployer/master/requirements-master.txt |
| Downloading/unpacking git+https://github.com/nuxeo/nuxeo-demo-deployer.git (from -r https://raw.github.com/nuxeo/nuxeo-demo-deployer/master/requirements-master.txt (line 4)) |
| Cloning https://github.com/nuxeo/nuxeo-demo-deployer.git to /tmp/pip-l4mPy4-build |
| Running setup.py egg_info for package from git+https://github.com/nuxeo/nuxeo-demo-deployer.git |
| |
| Requirement already up-to-date: boto in ./nxdd-venv/lib/python2.7/site-packages (from -r https://raw.github.com/nuxeo/nuxeo-demo-deployer/master/requirements-master.txt (line 2)) |
| Requirement already up-to-date: argparse in /usr/lib/python2.7 (from -r https://raw.github.com/nuxeo/nuxeo-demo-deployer/master/requirements-master.txt (line 3)) |
| Installing collected packages: nuxeo-demo-deployer |
| Found existing installation: nuxeo-demo-deployer 0.1.0 |
| Uninstalling nuxeo-demo-deployer: |
| Successfully uninstalled nuxeo-demo-deployer |
| Running setup.py install for nuxeo-demo-deployer |
| |
| Successfully installed nuxeo-demo-deployer |
| Cleaning up... |
| + python -m nxdd.commandline --instance-name dam --image-id ami-895069fd --region-name eu-west-1 --instance-type m1.medium --keys-folder /opt/build/aws --nuxeo-distribution precise snapshots --package marketplace/target/marketplace-asset-browser-1.0-SNAPSHOT.zip --bid 0.52 --aws-credentials /opt/build/aws/aws-credentials.json |
| Loading AWS parameters from disk: aws_access_key_id, aws_secret_access_key |
| Reusing running instance with name 'dam' at ec2-54-228-208-217.eu-west-1.compute.amazonaws.com |
| Checking ssh connection on: 'ec2-54-228-208-217.eu-west-1.compute.amazonaws.com'... |
| > echo "connection check" |
| connection check |
| > sudo mkdir -p /home/ubuntu/dam/ |
| > sudo chown -R ubuntu:ubuntu /home/ubuntu/dam/ |
| > Sending 'marketplace/target/marketplace-asset-browser-1.0-SNAPSHOT.zip' to '[email protected]:/home/ubuntu/dam/marketplace-asset-browser-1.0-SNAPSHOT.zip' |
| sending incremental file list |
| marketplace-asset-browser-1.0-SNAPSHOT.zip |
|
| 12792 0% 0.00kB/s 0:00:00 |
| 8409628 28% 7.71MB/s 0:00:02 |
| 29522645 100% 16.16MB/s 0:00:01 (xfer#1, to-check=0/1) |
|
| sent 15845764 bytes received 25621 bytes 4534681.43 bytes/sec |
| total size is 29522645 speedup is 1.86 |
| > Sending '/tmp/demo-deployer-params-OkERXH.json' to '[email protected]:/home/ubuntu/dam/demo-deployer-params-OkERXH.json' |
| sending incremental file list |
| demo-deployer-params-OkERXH.json |
|
| 109 100% 0.00kB/s 0:00:00 |
| 109 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1) |
|
| sent 212 bytes received 31 bytes 162.00 bytes/sec |
| total size is 109 speedup is 0.45 |
| > Sending '/home/hudson/tmp/workspace/addons_FT_nuxeo-asset-browser-master/nxdd-venv/local/lib/python2.7/site-packages/nxdd/node_agent.py' to '[email protected]:/home/ubuntu/dam/node_agent.py' |
| sending incremental file list |
| node_agent.py |
|
| 1412 19% 0.00kB/s 0:00:00 |
| 7380 100% 5.69MB/s 0:00:00 (xfer#1, to-check=0/1) |
|
| sent 1765 bytes received 97 bytes 1241.33 bytes/sec |
| total size is 7380 speedup is 3.96 |
| > sudo chmod +x /home/ubuntu/dam/node_agent.py |
| > (cd /home/ubuntu/dam/ && sudo ./node_agent.py demo-deployer-params-OkERXH.json) |
| Traceback (most recent call last): |
| File "./node_agent.py", line 214, in |
| parameters = json.load(sys.argv[1]) |
| File "/usr/lib/python2.7/json/__init__.py", line 274, in load |
| return loads(fp.read(), |
| AttributeError: 'str' object has no attribute 'read' |
| Traceback (most recent call last): |
| File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main |
| "__main__", fname, loader, pkg_name) |
| File "/usr/lib/python2.7/runpy.py", line 72, in _run_code |
| exec code in run_globals |
| File "/home/hudson/tmp/workspace/addons_FT_nuxeo-asset-browser-master/nxdd-venv/lib/python2.7/site-packages/nxdd/commandline.py", line 222, in |
| sys.exit(main()) |
| File "/home/hudson/tmp/workspace/addons_FT_nuxeo-asset-browser-master/nxdd-venv/lib/python2.7/site-packages/nxdd/commandline.py", line 215, in main |
| working_directory=WORKING_DIR) |
| File "/home/hudson/tmp/workspace/addons_FT_nuxeo-asset-browser-master/nxdd-venv/local/lib/python2.7/site-packages/nxdd/controller.py", line 265, in exec_script |
| self.cmd(cmd) |
| File "/home/hudson/tmp/workspace/addons_FT_nuxeo-asset-browser-master/nxdd-venv/local/lib/python2.7/site-packages/nxdd/controller.py", line 225, in cmd |
| raise RuntimeError("Remote command %s return %d" % (cmd, code)) |
| RuntimeError: Remote command (cd /home/ubuntu/dam/ && sudo ./node_agent.py demo-deployer-params-OkERXH.json) return 256 |
| Build step 'Execute shell' marked build as failure |
| Archiving artifacts |
| [ci-game] evaluating rule: Build result |
| [ci-game] evaluating rule: Increased number of failed tests |
| [ci-game] evaluating rule: Increased number of passed tests |
| [ci-game] evaluating rule: Decreased number of failed tests |
| [ci-game] evaluating rule: Decreased number of passed tests |
| [ci-game] evaluating rule: Open HIGH priority tasks |
| [ci-game] evaluating rule: Open NORMAL priority tasks |
| [ci-game] evaluating rule: Open LOW priority tasks |
| [ci-game] evaluating rule: HIGH priority PMD warnings |
| [ci-game] evaluating rule: NORMAL priority PMD warnings |
| [ci-game] evaluating rule: LOW priority PMD warnings |
| [ci-game] evaluating rule: New HIGH priority Findbugs warnings |
| [ci-game] evaluating rule: New NORMAL priority Findbugs warnings |
| [ci-game] evaluating rule: New LOW priority Findbugs warnings |
| [ci-game] evaluating rule: Fixed HIGH priority Findbugs warnings |
| [ci-game] evaluating rule: Fixed NORMAL priority Findbugs warnings |
| [ci-game] evaluating rule: Fixed LOW priority Findbugs warnings |
| [ci-game] evaluating rule: Changed number of compiler warnings |
| [ci-game] evaluating rule: Changed number of checkstyle warnings |
| Email was triggered for: Failure |
| Sending email for trigger: Failure |