Skip to content

Instantly share code, notes, and snippets.

@mbolivar
Created February 6, 2018 23:02
Show Gist options
  • Select an option

  • Save mbolivar/e8215bb618c972ab2e1c554af8bbbc90 to your computer and use it in GitHub Desktop.

Select an option

Save mbolivar/e8215bb618c972ab2e1c554af8bbbc90 to your computer and use it in GitHub Desktop.
[0036780] [fota/hawkbit] [DBG] hawkbit_query: [GET] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685
[0036860] [http/client] [DBG] print_info: (0x20003a60): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0036870] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 3 bytes data
[0036880] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0036890] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 46 bytes data
[0036900] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0036910] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0036920] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0036920] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0037010] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0037020] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0037110] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 19 bytes data
[0037150] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0037790] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 622 bytes http data
[0037800] [http/client] [DBG] on_message_begin: (0x200031a4): -- HTTP GET response (headers) --
[0037810] [http/client] [DBG] on_status: (0x200031a4): HTTP response status OK
[0037810] [http/client] [DBG] print_header_field: (0x200031a4): [6] Server
[0037820] [http/client] [DBG] print_header_field: (0x200031a4): [12] nginx/1.13.2
[0037830] [http/client] [DBG] print_header_field: (0x200031a4): [4] Date
[0037840] [http/client] [DBG] print_header_field: (0x200031a4): [29] Tue, 06 Feb 2018 23:00:15 GMT
[0037850] [http/client] [DBG] print_header_field: (0x200031a4): [12] Content-Type
[0037850] [http/client] [DBG] print_header_field: (0x200031a4): [34] application/hal+json;charset=UTF-8
[0037860] [http/client] [DBG] print_header_field: (0x200031a4): [14] Content-Length
[0037870] [http/client] [DBG] print_header_field: (0x200031a4): [3] 188
[0037880] [http/client] [DBG] print_header_field: (0x200031a4): [10] Connection
[0037880] [http/client] [DBG] print_header_field: (0x200031a4): [5] close
[0037890] [http/client] [DBG] print_header_field: (0x200031a4): [21] X-Application-Context
[0037900] [http/client] [DBG] print_header_field: (0x200031a4): [16] application:amqp
[0037910] [http/client] [DBG] print_header_field: (0x200031a4): [4] ETag
[0037910] [http/client] [DBG] print_header_field: (0x200031a4): [35] "0fde9274a81069a7bb53ca5d7fbbee5b7"
[0037920] [http/client] [DBG] print_header_field: (0x200031a4): [22] X-Content-Type-Options
[0037930] [http/client] [DBG] print_header_field: (0x200031a4): [7] nosniff
[0037940] [http/client] [DBG] print_header_field: (0x200031a4): [16] X-XSS-Protection
[0037950] [http/client] [DBG] print_header_field: (0x200031a4): [13] 1; mode=block
[0037950] [http/client] [DBG] print_header_field: (0x200031a4): [13] Cache-Control
[0037960] [http/client] [DBG] print_header_field: (0x200031a4): [46] no-cache, no-store, max-age=0, must-revalidate
[0037970] [http/client] [DBG] print_header_field: (0x200031a4): [6] Pragma
[0037980] [http/client] [DBG] print_header_field: (0x200031a4): [8] no-cache
[0037990] [http/client] [DBG] print_header_field: (0x200031a4): [7] Expires
[0037990] [http/client] [DBG] print_header_field: (0x200031a4): [1] 0
[0038000] [http/client] [DBG] print_header_field: (0x200031a4): [15] X-Frame-Options
[0038010] [http/client] [DBG] print_header_field: (0x200031a4): [4] DENY
[0038010] [http/client] [DBG] on_headers_complete: (0x200031a4): Headers complete
[0038020] [http/client] [DBG] on_body: (0x200031a4): Processed 188 length 188
[0038030] [http/client] [DBG] on_message_complete: (0x200031a4): -- HTTP GET response (complete) --
[0038040] [fota/hawkbit] [DBG] hawkbit_query: JSON DATA:
{"config":{"polling":{"sleep":"00:00:30"}},"_links":{"deploymentBase":{"href":"http://mgmt.foundries.io:8080/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685/deploymentBase/33?c=441182342"}}}
[0038060] [fota/hawkbit] [DBG] hawkbit_query: Hawkbit query completed
[0038070] [fota/hawkbit] [DBG] hawkbit_query: [GET] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685/deploymentBase/33?c=441182342
[0038180] [http/client] [DBG] print_info: (0x20003a60): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0038190] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 3 bytes data
[0038200] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0038210] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 76 bytes data
[0038220] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0038230] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0038240] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0038240] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0038280] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0038330] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0038340] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 19 bytes data
[0038380] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0038960] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0038970] [http/client] [DBG] on_message_begin: (0x200031a4): -- HTTP GET response (headers) --
[0038980] [http/client] [DBG] on_status: (0x200031a4): HTTP response status OK
[0038990] [http/client] [DBG] print_header_field: (0x200031a4): [6] Server
[0038990] [http/client] [DBG] print_header_field: (0x200031a4): [12] nginx/1.13.2
[0039000] [http/client] [DBG] print_header_field: (0x200031a4): [4] Date
[0039010] [http/client] [DBG] print_header_field: (0x200031a4): [29] Tue, 06 Feb 2018 23:00:16 GMT
[0039020] [http/client] [DBG] print_header_field: (0x200031a4): [12] Content-Type
[0039030] [http/client] [DBG] print_header_field: (0x200031a4): [34] application/hal+json;charset=UTF-8
[0039040] [http/client] [DBG] print_header_field: (0x200031a4): [14] Content-Length
[0039040] [http/client] [DBG] print_header_field: (0x200031a4): [3] 688
[0039050] [http/client] [DBG] print_header_field: (0x200031a4): [10] Connection
[0039060] [http/client] [DBG] print_header_field: (0x200031a4): [5] close
[0039060] [http/client] [DBG] print_header_field: (0x200031a4): [21] X-Application-Context
[0039070] [http/client] [DBG] print_header_field: (0x200031a4): [16] application:amqp
[0039080] [http/client] [DBG] print_header_field: (0x200031a4): [4] ETag
[0039090] [http/client] [DBG] print_header_field: (0x200031a4): [35] "017b8e4d86738f5c379b365827d01076e"
[0039100] [http/client] [DBG] print_header_field: (0x200031a4): [22] X-Content-Type-Options
[0039110] [http/client] [DBG] print_header_field: (0x200031a4): [7] nosniff
[0039110] [http/client] [DBG] print_header_field: (0x200031a4): [16] X-XSS-Protection
[0039120] [http/client] [DBG] print_header_field: (0x200031a4): [13] 1; mode=block
[0039130] [http/client] [DBG] print_header_field: (0x200031a4): [13] Cache-Control
[0039140] [http/client] [DBG] print_header_field: (0x200031a4): [46] no-cache, no-store, max-age=0, must-revalidate
[0039150] [http/client] [DBG] print_header_field: (0x200031a4): [6] Pragma
[0039150] [http/client] [DBG] print_header_field: (0x200031a4): [8] no-cache
[0039160] [http/client] [DBG] print_header_field: (0x200031a4): [7] Expires
[0039170] [http/client] [DBG] print_header_field: (0x200031a4): [1] 0
[0039170] [http/client] [DBG] print_header_field: (0x200031a4): [15] X-Frame-Options
[0039180] [http/client] [DBG] print_header_field: (0x200031a4): [4] DENY
[0039190] [http/client] [DBG] on_headers_complete: (0x200031a4): Headers complete
[0039190] [http/client] [DBG] on_body: (0x200031a4): Processed 206 length 206
[0039350] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 482 bytes http data
[0039360] [http/client] [DBG] on_body: (0x200031a4): Processed 688 length 482
[0039370] [http/client] [DBG] on_message_complete: (0x200031a4): -- HTTP GET response (complete) --
[0039380] [fota/hawkbit] [DBG] hawkbit_query: JSON DATA:
{"id":"33","deployment":{"download":"forced","update":"forced","chunks":[{"part":"os","version":"33.0","name":"BLE Nano 2 Update #33","artifacts":[{"filename":"dm-hawkbit-mqtt-nrf52_blenano2-signed.bin","hashes":{"sha1":"590a26f9586307c749af08fd8e6bd6841788c5fa","md5":"c48fae365b066a1182036ccd0d1c1e7f"},"size":165496,"_links":{"download-http":{"href":"http://mgmt.foundries.io:8080/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685/softwaremodules/35/artifacts/dm-hawkbit-mqtt-nrf52_blenano2-signed.bin"},"md5sum-http":{"href":"http://mgmt.foundries.io:8080/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685/softwaremodules/35/artifacts/dm-hawkbit-mqtt-nrf52_blenano2-signed.bin.MD5SUM"}}}]}]}}
[0039510] [fota/hawkbit] [DBG] hawkbit_report_dep_fbk: JSON response: {"id":"33","status":{"execution":"proceeding","result":{"finished":"success"}}}
[0039520] [fota/hawkbit] [DBG] hawkbit_query: [POST] HOST:mgmt.foundries.io:8080 URL:/DEFAULT/controller/v1/nrf52_blenano2-1ef8e685/deploymentBase/33/feedback
[0039650] [http/client] [DBG] print_info: (0x20003a60): HTTP POST (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0039660] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0039670] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0039680] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 73 bytes data
[0039680] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0039690] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0039700] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0039710] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0039740] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0039790] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0039800] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 19 bytes data
[0039840] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 12 bytes data
[0039890] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0039940] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 16 bytes data
[0039950] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0039990] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 14 bytes data
[0040000] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0040040] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0040050] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0040090] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0040100] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 79 bytes data
[0040530] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 339 bytes http data
[0040530] [http/client] [DBG] on_message_begin: (0x200031a4): -- HTTP POST response (headers) --
[0040540] [http/client] [DBG] on_status: (0x200031a4): HTTP response status OK
[0040550] [http/client] [DBG] print_header_field: (0x200031a4): [6] Server
[0040560] [http/client] [DBG] print_header_field: (0x200031a4): [12] nginx/1.13.2
[0040560] [http/client] [DBG] print_header_field: (0x200031a4): [4] Date
[0040570] [http/client] [DBG] print_header_field: (0x200031a4): [29] Tue, 06 Feb 2018 23:00:18 GMT
[0040580] [http/client] [DBG] print_header_field: (0x200031a4): [14] Content-Length
[0040590] [http/client] [DBG] print_header_field: (0x200031a4): [1] 0
[0040590] [http/client] [DBG] print_header_field: (0x200031a4): [10] Connection
[0040600] [http/client] [DBG] print_header_field: (0x200031a4): [5] close
[0040610] [http/client] [DBG] print_header_field: (0x200031a4): [21] X-Application-Context
[0040620] [http/client] [DBG] print_header_field: (0x200031a4): [16] application:amqp
[0040620] [http/client] [DBG] print_header_field: (0x200031a4): [22] X-Content-Type-Options
[0040630] [http/client] [DBG] print_header_field: (0x200031a4): [7] nosniff
[0040640] [http/client] [DBG] print_header_field: (0x200031a4): [16] X-XSS-Protection
[0040650] [http/client] [DBG] print_header_field: (0x200031a4): [13] 1; mode=block
[0040650] [http/client] [DBG] print_header_field: (0x200031a4): [13] Cache-Control
[0040660] [http/client] [DBG] print_header_field: (0x200031a4): [46] no-cache, no-store, max-age=0, must-revalidate
[0040670] [http/client] [DBG] print_header_field: (0x200031a4): [6] Pragma
[0040680] [http/client] [DBG] print_header_field: (0x200031a4): [8] no-cache
[0040690] [http/client] [DBG] print_header_field: (0x200031a4): [7] Expires
[0040690] [http/client] [DBG] print_header_field: (0x200031a4): [1] 0
[0040700] [http/client] [DBG] print_header_field: (0x200031a4): [15] X-Frame-Options
[0040710] [http/client] [DBG] print_header_field: (0x200031a4): [4] DENY
[0040710] [http/client] [DBG] on_headers_complete: (0x200031a4): Headers complete
[0040720] [http/client] [DBG] on_message_complete: (0x200031a4): -- HTTP POST response (complete) --
[0040730] [fota/hawkbit] [DBG] hawkbit_query: Hawkbit query completed
[0040840] [fota/hawkbit] [INF] hawkbit_install_update: Starting the download and flash process
[0040970] [http/client] [DBG] print_info: (0x20003a60): HTTP GET (mgmt.foundries.io:8080) fe80::d4e7:1eff:fef8:e685 -> fe80::d4e7:0:0:1 port 8080
[0040980] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 3 bytes data
[0040990] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 1 bytes data
[0041000] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 117 bytes data
[0041000] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 9 bytes data
[0041010] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0041020] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0041060] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0041070] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 22 bytes data
[0041110] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 2 bytes data
[0041160] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 19 bytes data
[0041170] [http] [DBG] http_send_msg_raw: (0x20003a60): [0x20000228] Sending 4 bytes data
[0041750] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0041760] [http/client] [DBG] on_message_begin: (0x200031a4): -- HTTP GET response (headers) --
[0041770] [http/client] [DBG] on_status: (0x200031a4): HTTP response status OK
[0041770] [http/client] [DBG] print_header_field: (0x200031a4): [6] Server
[0041780] [http/client] [DBG] print_header_field: (0x200031a4): [12] nginx/1.13.2
[0041790] [http/client] [DBG] print_header_field: (0x200031a4): [4] Date
[0041790] [http/client] [DBG] print_header_field: (0x200031a4): [29] Tue, 06 Feb 2018 23:00:19 GMT
[0041800] [http/client] [DBG] print_header_field: (0x200031a4): [12] Content-Type
[0041810] [http/client] [DBG] print_header_field: (0x200031a4): [24] application/octet-stream
[0041820] [http/client] [DBG] print_header_field: (0x200031a4): [14] Content-Length
[0041830] [http/client] [DBG] print_header_field: (0x200031a4): [6] 165496
[0041830] [http/client] [DBG] print_header_field: (0x200031a4): [10] Connection
[0041840] [http/client] [DBG] print_header_field: (0x200031a4): [5] close
[0041850] [http/client] [DBG] print_header_field: (0x200031a4): [19] Content-Disposition
[0041860] [http/client] [DBG] print_header_field: (0x200031a4): [61] attachment;filename=dm-hawkbit-mqtt-nrf52_blenano2-signed.bin
[0041870] [http/client] [DBG] print_header_field: (0x200031a4): [4] ETag
[0041870] [http/client] [DBG] print_header_field: (0x200031a4): [35] "0c48fae365b066a1182036ccd0d1c1e7f"
[0041880] [http/client] [DBG] print_header_field: (0x200031a4): [13] Accept-Ranges
[0041890] [http/client] [DBG] print_header_field: (0x200031a4): [5] bytes
[0041900] [http/client] [DBG] print_header_field: (0x200031a4): [13] Last-Modified
[0041910] [http/client] [DBG] print_header_field: (0x200031a4): [29] Tue, 06 Feb 2018 22:59:37 GMT
[0041910] [http/client] [DBG] print_header_field: (0x200031a4): [13] Content-Range
[0041920] [http/client] [DBG] print_header_field: (0x200031a4): [21] bytes 0-165495/165496
[0041930] [http/client] [DBG] on_headers_complete: (0x200031a4): Headers complete
[0041940] [http/client] [DBG] on_body: (0x200031a4): Processed 246 length 246
[0041940] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0042240] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0042250] [http/client] [DBG] on_body: (0x200031a4): Processed 886 length 640
[0042250] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0042680] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0042690] [http/client] [DBG] on_body: (0x200031a4): Processed 1526 length 640
[0042690] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0043120] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0043130] [http/client] [DBG] on_body: (0x200031a4): Processed 2166 length 640
[0043130] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0043160] [fota/hawkbit] [DBG] install_update_cb: 1%
[0043600] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0043610] [http/client] [DBG] on_body: (0x200031a4): Processed 2806 length 640
[0043620] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0044040] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0044050] [http/client] [DBG] on_body: (0x200031a4): Processed 3446 length 640
[0044060] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0044480] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0044490] [http/client] [DBG] on_body: (0x200031a4): Processed 4086 length 640
[0044500] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0044520] [fota/hawkbit] [DBG] install_update_cb: 2%
[0044970] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0044980] [http/client] [DBG] on_body: (0x200031a4): Processed 4726 length 640
[0044990] [http/client] [DBG] on_body: (0x200031a4): Calling callback for partitioned 640 len data
[0045410] [http/client] [DBG] http_received: (0x200031a4): [0x20000228] Received 640 bytes http data
[0045420] [http/client] [DBG] on_body: (0x200031a4): Processed 5366 length 640
[... additional lines omitted ...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment