# swupdate -f /etc/swupdate.cfg -v -w '/www' -u '-t default -u 192.168.3.101:8080 -i imx6ul-var-dart -c 2' | tee 7.log & [1] 21457
root@ModBusTCP_V1:~# Swupdate v2018.3.0
Licensed under GPLv2. See source distribution for detailed copyright notices.
[TRACE] : SWUPDATE running : [start_swupdate_subprocess] : Started webserver with pid 21459 and fd 4
[TRACE] : SWUPDATE running : [start_swupdate_subprocess] : Started suricatta with pid 21460 and fd 5
Running on mbtcp-mx6 Revision 1.0
Registered handlers:
dummy
archive
tar
raw
rawfile
lua
shellscript
preinstall
postinstall
remote
u* Trying 192.168.3.101...
* TCP_NODELAY set
* Connected to 192.168.3.101 (192.168.3.101) port 8080 (#0)
> GET /default/controller/v1/imx6ul-var-dart HTTP/1.1
User-Agent: libcurl-agent/1.0
Content-Type: application/json
Accept: application/json
charsets: utf-8
Authorization: TargetToken 6be90829bad53947294ae6bc18f3cc81
boot
bootloader
[TRACE] : SWUPDATE running : [suricatta_configdata_settings] : Identify for configData: versionSpC --> 1.0
[TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/swupdateprog
[TRACE] : SWUPDATE running : [network_initializer] : Main loop Daemon
[TRACE] : SWUPDATE running : [listener_create] : creating socket at /tmp/sockinstctrl
[TRACE] : SWUPDAT< HTTP/1.1 200 OK
< Date: Sat, 16 Jun 2018 08:26:53 GMT
< X-Application-Context: application:amqp
< Content-Type: application/json;charset=UTF-8
< ETag: "06755376a8f6363bcbeb768285fc40db7"
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Length: 175
<
* Connection #0 to host 192.168.3.101 left intact
* Re-using existing connection! (#0) with host 192.168.3.101
* Connected to 192.168.3.101 (192.168.3.101) port 8080 (#0)
> GET /default/controller/v1/imx6ul-var-dart/deploymentBase/3?c=413446921 HTTP/1.1
User-Agent: libcurl-agent/1.0
Content-Type: application/json
Accept: application/json
charsets: utf-8
Authorization: TargetToken 6be90829bad53947294ae6bc18f3cc81
E running : [suricatta_configdata_settings] : Identify for configData: hwId --> ipse
[TRACE] : SWUPDATE running : [suricatta_configdata_settings] : Identify for configData: hwVersion --> 333
[TRACE] : SWUPDATE running : [suricatta_configdata_settings] : Identify for configData: serialNo --> 1234567890
[TRACE] : SWUPDATE running : [suricatta_configdata_settings] : Identify for configData: swCompatibility --> unknown
[TRACE] : SWUPDATE running : [server_handle_initial_state] : Got state=2 from command line.
[DEBUG] : SWUPDATE running : [server_get_device_info] : Getting information for device 'imx6ul-var-dart'
[DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 175B of 175B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 175B of 175B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 175B of 175B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 175B of 175B"}
[TRACE] : SWUPDATE running : [channel_get] : Channel operation returned HTTP status code 200.
[TRACE] : SWUPDATE< HTTP/1.1 200 OK
< Date: Sat, 16 Jun 2018 08:26:53 GMT
< X-Application-Context: application:amqp
< Content-Type: application/json;charset=UTF-8
< ETag: "02767263ca579d6bc2b498a1209498b91"
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Length: 575
<
* Connection #0 to host 192.168.3.101 left intact
* Re-using existing connection! (#0) with host 192.168.3.101
* Connected to 192.168.3.101 (192.168.3.101) port 8080 (#0)
> POST /default/controller/v1/imx6ul-var-dart/deploymentBase/3/feedback HTTP/1.1
User-Agent: libcurl-agent/1.0
Content-Type: application/json
Accept: application/json
charsets: utf-8
Authorization: TargetToken 6be90829bad53947294ae6bc18f3cc81
Content-Length: 186
* upload completely sent off: 186 out of 186 bytes
mentBase/3?c=413446921"}}}
[DEBUG] : SWUPDATE running : [server_set_polling_interval] : Set polling interval to 60s as announced by server.
[DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
< Date: Sat, 16 Jun 2018 08:26:53 GMT
< X-Application-Context: application:amqp
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Length: 0
<
* Connection #0 to host 192.168.3.101 left intact
* Re-using existing connection! (#0) with host 192.168.3.101
* Connected to 192.168.3.101 (192.168.3.101) port 8080 (#0)
> GET /default/controller/v1/imx6ul-var-dart HTTP/1.1
User-Agent: libcurl-agent/1.0
Content-Type: application/json
Accept: application/json
charsets: utf-8
Authorization: TargetToken 6be90829bad53947294ae6bc18f3cc81
< HTTP/1.1 200 OK
< Date: Sat, 16 Jun 2018 08:26:53 GMT
< X-Application-Context: application:amqp
< Content-Type: application/json;charset=UTF-8
< ETag: "0c4e213aa54b57890390f2301ded36f0d"
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Length: 43
<
* Connection #0 to host 192.168.3.101 left intact
se/3?c=413446921
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received* Found bundle for host 192.168.3.101: 0x8bf978 [can pipeline] * Re-using existing connection! (#0) with host 192.168.3.101
* Connected to 192.168.3.101 (192.168.3.101) port 8080 (#0)
> PUT /default/controller/v1/imx6ul-var-dart/configData HTTP/1.1
User-Agent: libcurl-agent/1.0
Content-Type: application/json
Accept: application/json
charsets: utf-8
Authorization: TargetToken 6be90829bad53947294ae6bc18f3cc81
Content-Length: 256
Expect: 100-continue
575B of 575B"}
[TRACE] : EVENT [0] : {"percent": 1< HTTP/1.1 100 Continue
* We are completely uploaded and fine
< HTTP/1.1 200 OK
< Date: Sat, 16 Jun 2018 08:26:53 GMT
< X-Application-Context: application:amqp
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: 0
< X-Frame-Options: DENY
< Content-Length: 0
<
* Connection #0 to host 192.168.3.101 left intact
00, "msg":"Received 575B of 575B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 575B of 575B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 575B of 575B"}
1
[TRACE] : SWUPDATE running : [channel_get] : Channel operation returned HTTP status code 200.
[TRACE] : SWUPDATE running : [channel_get] : Get JSON: {"id":"3","deployment":{"download":"forced","update":"forced","chunks":[{"part":"bApp","version":"1.0","name":"sw","artifacts":[{"f
ilename":"my-software_1.0.swu","hashes":{"sha1":"63a950048966e55068e62b66a26205a9fd2f99a1","md5":"e9354f9f74f84963af638d7a11aca4d4"},"size":1024,"_links":{"download-http":{"href":"http://
r-dart/softwaremodules/1/artifacts/my-software_1.0.swu.MD5SUM"}}}]}]}}
[TRACE] : SWUPDATE running : [server_get_deployment_info] : Associated Action ID for Update Action is 3
[TRACE] : SWUPDATE running : [server_create_details] : Detail 0 Update Installed.
[TRACE] : SWUPDATE running : [server_create_details] : Final details: "Update Installed."
[TRACE] : SWUPDATE running : [server_send_deployment_reply] : Reporting Installation progress for ID 3: success / closed / "Update Installed."
62653", "status": { "result": { "progress": { "cnt" : 0, "of" : 0 }, "finished": "success" }, "execution": "closed", "details" : [ "Update Installed." ] } }
[DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
[TRACE] : SWUPDATE running : [channel_set_options] : Posted: { "id": 3, "time": "20180616T162653", "status": { "result": { "progress": { "cnt" : 0, "of" : 0 }, "finished": "success" }, "
execution": "closed", "details" : [ "Update Installed." ] } }
[TRACE] : SWUPDATE running : [channel_post_method] : Channel put operation returned HTTP status code 200.
[TRACE] : SWUPDATE running : [start_suricatta] : Server initialized, entering suricatta main loop.
[DEBUG] : SWUPDATE running : [server_get_device_info] : Getting information for device 'imx6ul-var-dart'
[DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 43B of 43B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 43B of 43B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 43B of 43B"}
[TRACE] : EVENT [0] : {"percent": 100, "msg":"Received 43B of 43B"}
[TRACE] : SWUPDATE running : [channel_get] : Channel operation returned HTTP status code 200.
[TRACE] : SWUPDATE running : [channel_get] : Get JSON: {"config":{"polling":{"sleep":"00:01:00"}}}
[DEBUG] : SWUPDATE running : [server_set_polling_interval] : Set polling interval to 60s as announced by server.
[TRACE] : SWUPDATE running : [server_get_deployment_info] : No pending action on server.
[TRACE] : SWUPDATE running : [server_send_target_data] : KEYVALUE= "swCompatibility": "unknown" swCompatibility unknown
[TRACE] : SWUPDATE running : [server_send_target_data] : KEYVALUE=,"serialNo": "1234567890" serialNo 1234567890
[TRACE] : SWUPDATE running : [server_send_target_data] : KEYVALUE=,"hwVersion": "333" hwVersion 333
[TRACE] : SWUPDATE running : [server_send_target_data] : KEYVALUE=,"hwId": "ipse" hwId ipse
[TRACE] : SWUPDATE running : [server_send_target_data] : KEYVALUE=,"versionSpC": "1.0" versionSpC 1.0
[TRACE] : SWUPDATE running : [server_send_target_data] : CONFIGDATA= "swCompatibility": "unknown","serialNo": "1234567890","hwVersion": "333","hwId": "ipse","versionSpC": "1.0"
result": { "finished": "success" }, "execution": "closed", "details" : [ "" ] }, "data" : { "swCompatibility": "unknown","serialNo": "1234567890","hwVersion": "333","hwId": "ipse","versi
onSpC": "1.0" } }
[DEBUG] : SWUPDATE running : [channel_set_options] : cURL's low download speed timeout is disabled, this is most probably not what you want. Adapted it to 300s instead.
[TRACE] : SWUPDATE running : [channel_put_method] : Channel put operation returned HTTP error code 200.
[DEBUG] : SWUPDATE running : [suricatta_wait] : Sleeping for 60 seconds.