You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/15 06:40:58 UTC
[GitHub] ningyougang commented on issue #3442: Add -o option to overwrite target files
ningyougang commented on issue #3442: Add -o option to overwrite target files
URL: https://github.com/apache/incubator-openwhisk/pull/3442#issuecomment-373276248
In my local build env. the second build will be failed due to already exist the files, the error like below
```
TASK [cli : Unarchive the individual zipfiles into binaries] *******************
task path: /home1/irteamsu/.jenkins/workspace/lambda-pr-build/ansible/roles/cli/tasks/deploy.yml:71
Thursday 15 March 2018 15:26:20 +0900 (0:00:00.252) 0:08:36.533 ********
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
....
<172.17.0.1> EXEC /bin/sh -c 'echo ~ && sleep 0'
<172.17.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796 `" && echo ansible-tmp-1521095180.8-192726596548796="` echo /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796 `" ) && sleep 0'
<172.17.0.1> PUT /tmp/tmp9s_M9e TO /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796/command.py
<172.17.0.1> EXEC /bin/sh -c 'chmod u+x /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796/ /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796/command.py && sleep 0'
<172.17.0.1> EXEC /bin/sh -c '/usr/bin/python /home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796/command.py; rm -rf "/home1/irteamsu/.ansible/tmp/ansible-tmp-1521095180.8-192726596548796/" > /dev/null 2>&1 && sleep 0'
failed: [172.17.0.1] (item={u'uid': 11000, u'woth': False, u'mtime': 1521095177.3356953, u'inode': 72173708, u'isgid': False, u'size': 3158024, u'isuid': False, u'isreg': True, u'gid': 11000, u'ischr': False, u'wusr': True, u'xoth': True, u'islnk': False, u'nlink': 1, u'issock': False, u'rgrp': True, u'path': u'/tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip', u'xusr': True, u'atime': 1521002363.409153, u'isdir': False, u'ctime': 1521095177.3356953, u'isblk': False, u'wgrp': False, u'xgrp': True, u'dev': 2050, u'roth': True, u'isfifo': False, u'mode': u'0755', u'rusr': True}) => {
"changed": true,
"cmd": "unzip /tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip -d /tmp/wskconf/nginx/cli/go/download/windows/386",
"delta": "0:00:00.014804",
"end": "2018-03-15 15:26:20.971211",
"invocation": {
"module_args": {
"_raw_params": "unzip /tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip -d /tmp/wskconf/nginx/cli/go/download/windows/386",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"warn": true
}
},
"item": {
"atime": 1521002363.409153,
"ctime": 1521095177.3356953,
"dev": 2050,
"gid": 11000,
"inode": 72173708,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"mode": "0755",
"mtime": 1521095177.3356953,
"nlink": 1,
"path": "/tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip",
"rgrp": true,
"roth": true,
"rusr": true,
"size": 3158024,
"uid": 11000,
"wgrp": false,
"woth": false,
"wusr": true,
"xgrp": true,
"xoth": true,
"xusr": true
},
"msg": "non-zero return code",
"rc": 1,
"start": "2018-03-15 15:26:20.956407",
"stderr": "replace /tmp/wskconf/nginx/cli/go/download/windows/386/wsk.exe? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL\n(EOF or read error, treating as \"[N]one\" ...)",
"stderr_lines": [
"replace /tmp/wskconf/nginx/cli/go/download/windows/386/wsk.exe? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL",
"(EOF or read error, treating as \"[N]one\" ...)"
],
"stdout": "Archive: /tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip",
"stdout_lines": [
"Archive: /tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip"
]
}
...
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services