Advertisement
Guest User

DO Component Ttest

a guest
Apr 19th, 2021
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 118.17 KB | None | 0 0
  1. matthias@matthias-VirtualBox:~/Desktop/azure/iot-hub-device-update$ cd /tmp/build-deliveryoptimization-agent/linux-debug/client-lite/test/
  2. matthias@matthias-VirtualBox:/tmp/build-deliveryoptimization-agent/linux-debug/client-lite/test$ ./deliveryoptimization-agent-tests --gtest_filter=DownloadManagerTests*
  3. Note: Google Test filter = DownloadManagerTests*
  4. [==========] Running 10 tests from 1 test case.
  5. [----------] Global test environment set-up.
  6. [----------] 10 tests from DownloadManagerTests
  7. [ RUN      ] DownloadManagerTests.EmptyDownload
  8. [2021-04-19 15:24:30.586867] [0x00007f56ea621000] [info]    {Download} 491b16f0-c2b8-0442-bdbc-98db9194953c, new download, url: , dest:
  9. [2021-04-19 15:24:30.586916] [0x00007f56ea621000] [info]    {GetProperty} 491b16f0-c2b8-0442-bdbc-98db9194953c, key: 0
  10. [2021-04-19 15:24:30.587095] [0x00007f56e6c34700] [info]    {GetProperty} 491b16f0-c2b8-0442-bdbc-98db9194953c, key: 0
  11. [2021-04-19 15:24:30.587321] [0x00007f56e6c34700] [info]    {GetProperty} 491b16f0-c2b8-0442-bdbc-98db9194953c, key: 1
  12. [2021-04-19 15:24:30.587487] [0x00007f56e6c34700] [info]    {GetProperty} 491b16f0-c2b8-0442-bdbc-98db9194953c, key: 4
  13. [2021-04-19 15:24:30.587680] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 491b16f0-c2b8-0442-bdbc-98db9194953c, 0, codes: [0, 0x0, 0x0], 0 / 0
  14. [2021-04-19 15:24:30.587862] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 491b16f0-c2b8-0442-bdbc-98db9194953c, state change request 0 --> 4
  15. [2021-04-19 15:24:30.587902] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 491b16f0-c2b8-0442-bdbc-98db9194953c, 4, codes: [0, 0x0, 0x0], 0 / 0
  16. [2021-04-19 15:24:30.587928] [0x00007f56e6c34700] [info]    {TraceDownloadCanceled} (hr:0) id: 491b16f0-c2b8-0442-bdbc-98db9194953c, extError: 0, cdnUrl: , mccHost: , filePath: , bytes: [total: 0, down: 0]
  17. [2021-04-19 15:24:30.588019] [0x00007f56ea621000] [trace]   {TraceDownloadStatus} id: 491b16f0-c2b8-0442-bdbc-98db9194953c, 4, codes: [0, 0x0, 0x0], 0 / 0
  18. [2021-04-19 15:24:30.588116] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  19. [       OK ] DownloadManagerTests.EmptyDownload (7 ms)
  20. [ RUN      ] DownloadManagerTests.SmallFileDownload
  21. [2021-04-19 15:24:30.591366] [0x00007f56ea621000] [info]    {Download} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, dest: /tmp/docs_test_scratch/smallfile.test
  22. [2021-04-19 15:24:30.591403] [0x00007f56ea621000] [info]    {GetProperty} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, key: 0
  23. [2021-04-19 15:24:30.591520] [0x00007f56e6c34700] [info]    {GetProperty} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, key: 1
  24. [2021-04-19 15:24:30.591680] [0x00007f56e6c34700] [info]    {GetProperty} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, key: 4
  25. [2021-04-19 15:24:30.591840] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, state change request 0 --> 1
  26. [2021-04-19 15:24:30.631250] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  27. [2021-04-19 15:24:30.633083] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  28. [2021-04-19 15:24:30.633304] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  29. [2021-04-19 15:24:30.633982] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  30. [2021-04-19 15:24:30.634020] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  31. [2021-04-19 15:24:30.634043] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  32. [2021-04-19 15:24:30.634063] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  33. [2021-04-19 15:24:30.634123] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6
  34. [2021-04-19 15:24:30.641291] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6
  35. [2021-04-19 15:24:30.645309] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, 1, codes: [0, 0x0, 0x0], 0 / 0
  36. [2021-04-19 15:24:30.645355] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, filePath: /tmp/docs_test_scratch/smallfile.test, mccHost:
  37. [2021-04-19 15:24:30.645446] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, 1, codes: [0, 0x0, 0x0], 0 / 0
  38. [2021-04-19 15:24:31.038527] [0x00007f56d6fed700] [info]    {OnHeadersAvailable} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, http_status: 200, content_length: 1837, headers:
  39. Accept-Ranges:bytes
  40. Content-Length:1837
  41. Content-Type:application/octet-stream
  42. Date:Mon, 19 Apr 2021 13:24:30 GMT
  43. ETag:"8097338c8ad0d01:0"
  44. Last-Modified:Thu, 06 Aug 2015 20:57:47 GMT
  45. Server:Microsoft-IIS/10.0
  46. X-Powered-By:ASP.NET
  47.  
  48.  
  49. [2021-04-19 15:24:31.647487] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, 2, codes: [200, 0x0, 0x0], 1837 / 1837
  50. [2021-04-19 15:24:31.647665] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, 2, codes: [200, 0x0, 0x0], 1837 / 1837
  51. Response headers: Accept-Ranges:bytes
  52. Content-Length:1837
  53. Content-Type:application/octet-stream
  54. Date:Mon, 19 Apr 2021 13:24:30 GMT
  55. ETag:"8097338c8ad0d01:0"
  56. Last-Modified:Thu, 06 Aug 2015 20:57:47 GMT
  57. Server:Microsoft-IIS/10.0
  58. X-Powered-By:ASP.NET
  59.  
  60.  
  61. [2021-04-19 15:24:31.647929] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 825a5fc6-ff32-9e49-bc12-4f13c546ce31, state change request 2 --> 3
  62. [2021-04-19 15:24:31.652557] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, 3, codes: [200, 0x0, 0x0], 1837 / 1837
  63. [2021-04-19 15:24:31.652648] [0x00007f56e6c34700] [info]    {TraceDownloadCompleted} id: 825a5fc6-ff32-9e49-bc12-4f13c546ce31, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, mccHost: , filePath: /tmp/docs_test_scratch/smallfile.test, bytes: [total: 1837, down: 1837], timeMS: 396
  64. [2021-04-19 15:24:31.652772] [0x00007f56ea621000] [error]   {_GetDownload} (hr:80070490) it == _downloads.end() [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download_manager.cpp, 115]
  65. [2021-04-19 15:24:31.652972] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  66. [       OK ] DownloadManagerTests.SmallFileDownload (1065 ms)
  67. [ RUN      ] DownloadManagerTests.MultipleDownloads
  68. [2021-04-19 15:24:31.660310] [0x00007f56ea621000] [info]    {Download} 13bf2204-8840-6740-8990-b9e15c603c12, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, dest: /tmp/docs_test_scratch/smallfile.test
  69. [2021-04-19 15:24:31.660392] [0x00007f56ea621000] [info]    {GetProperty} 13bf2204-8840-6740-8990-b9e15c603c12, key: 0
  70. [2021-04-19 15:24:31.660634] [0x00007f56e6c34700] [info]    {GetProperty} 13bf2204-8840-6740-8990-b9e15c603c12, key: 1
  71. [2021-04-19 15:24:31.660962] [0x00007f56e6c34700] [info]    {GetProperty} 13bf2204-8840-6740-8990-b9e15c603c12, key: 4
  72. [2021-04-19 15:24:31.661334] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 13bf2204-8840-6740-8990-b9e15c603c12, state change request 0 --> 1
  73. [2021-04-19 15:24:31.693255] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  74. [2021-04-19 15:24:31.693360] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  75. [2021-04-19 15:24:31.693624] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  76. [2021-04-19 15:24:31.694163] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  77. [2021-04-19 15:24:31.694240] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  78. [2021-04-19 15:24:31.694289] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  79. [2021-04-19 15:24:31.694379] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  80. [2021-04-19 15:24:31.694452] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 13bf2204-8840-6740-8990-b9e15c603c12, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6
  81. [2021-04-19 15:24:31.694919] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6
  82. [2021-04-19 15:24:31.703032] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 13bf2204-8840-6740-8990-b9e15c603c12, 1, codes: [0, 0x0, 0x0], 0 / 0
  83. [2021-04-19 15:24:31.703129] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 13bf2204-8840-6740-8990-b9e15c603c12, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, filePath: /tmp/docs_test_scratch/smallfile.test, mccHost:
  84. [2021-04-19 15:24:31.703462] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 13bf2204-8840-6740-8990-b9e15c603c12, 1, codes: [0, 0x0, 0x0], 0 / 0
  85. [2021-04-19 15:24:32.026777] [0x00007f56d8ff1700] [info]    {OnHeadersAvailable} 13bf2204-8840-6740-8990-b9e15c603c12, http_status: 200, content_length: 1837, headers:
  86. Accept-Ranges:bytes
  87. Content-Length:1837
  88. Content-Type:application/octet-stream
  89. Date:Mon, 19 Apr 2021 13:24:31 GMT
  90. ETag:"8097338c8ad0d01:0"
  91. Last-Modified:Thu, 06 Aug 2015 20:57:47 GMT
  92. Server:Microsoft-IIS/10.0
  93. X-Powered-By:ASP.NET
  94.  
  95.  
  96. [2021-04-19 15:24:32.704975] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 13bf2204-8840-6740-8990-b9e15c603c12, 2, codes: [200, 0x0, 0x0], 1837 / 1837
  97. [2021-04-19 15:24:32.711759] [0x00007f56ea621000] [info]    {Download} c2ae6552-1a04-c44e-9baa-c49a32b27d39, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, dest: /tmp/docs_test_scratch/nonexistentfile.test
  98. [2021-04-19 15:24:32.711843] [0x00007f56ea621000] [info]    {GetProperty} c2ae6552-1a04-c44e-9baa-c49a32b27d39, key: 0
  99. [2021-04-19 15:24:32.718347] [0x00007f56ea621000] [info]    {Download} a3934605-8eb7-044f-95b1-06e5099a9d43, new download, url: , dest:
  100. [2021-04-19 15:24:32.718418] [0x00007f56ea621000] [info]    {GetProperty} a3934605-8eb7-044f-95b1-06e5099a9d43, key: 0
  101. [2021-04-19 15:24:32.718668] [0x00007f56e6c34700] [info]    {SetProperty} a3934605-8eb7-044f-95b1-06e5099a9d43, 1 = http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  102. [2021-04-19 15:24:32.719115] [0x00007f56e6c34700] [info]    {SetProperty} a3934605-8eb7-044f-95b1-06e5099a9d43, 4 = /tmp/docs_test_scratch/largefile.test
  103. [2021-04-19 15:24:32.719506] [0x00007f56e6c34700] [info]    {GetProperty} a3934605-8eb7-044f-95b1-06e5099a9d43, key: 1
  104. [2021-04-19 15:24:32.719887] [0x00007f56e6c34700] [info]    {GetProperty} a3934605-8eb7-044f-95b1-06e5099a9d43, key: 4
  105. [2021-04-19 15:24:32.720272] [0x00007f56e6c34700] [trace]   {_PerformStateChange} c2ae6552-1a04-c44e-9baa-c49a32b27d39, state change request 0 --> 1
  106. [2021-04-19 15:24:32.746708] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  107. [2021-04-19 15:24:32.746856] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  108. [2021-04-19 15:24:32.746895] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  109. [2021-04-19 15:24:32.746921] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  110. [2021-04-19 15:24:32.746944] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  111. [2021-04-19 15:24:32.746970] [0x00007f56e6c34700] [info]    {_SendHttpRequest} c2ae6552-1a04-c44e-9baa-c49a32b27d39, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  112. [2021-04-19 15:24:32.747202] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  113. [2021-04-19 15:24:32.747533] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: c2ae6552-1a04-c44e-9baa-c49a32b27d39, 1, codes: [0, 0x0, 0x0], 0 / 0
  114. [2021-04-19 15:24:32.747578] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: c2ae6552-1a04-c44e-9baa-c49a32b27d39, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, filePath: /tmp/docs_test_scratch/nonexistentfile.test, mccHost:
  115. [2021-04-19 15:24:32.748612] [0x00007f56e6c34700] [trace]   {_PerformStateChange} a3934605-8eb7-044f-95b1-06e5099a9d43, state change request 0 --> 1
  116. [2021-04-19 15:24:32.779403] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  117. [2021-04-19 15:24:32.779532] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  118. [2021-04-19 15:24:32.779574] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  119. [2021-04-19 15:24:32.779605] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  120. [2021-04-19 15:24:32.779666] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  121. [2021-04-19 15:24:32.779745] [0x00007f56e6c34700] [info]    {_SendHttpRequest} a3934605-8eb7-044f-95b1-06e5099a9d43, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  122. [2021-04-19 15:24:32.779964] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  123. [2021-04-19 15:24:32.781126] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: a3934605-8eb7-044f-95b1-06e5099a9d43, 1, codes: [0, 0x0, 0x0], 0 / 0
  124. [2021-04-19 15:24:32.781166] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: a3934605-8eb7-044f-95b1-06e5099a9d43, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  125. [2021-04-19 15:24:32.781346] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 13bf2204-8840-6740-8990-b9e15c603c12, 2, codes: [200, 0x0, 0x0], 1837 / 1837
  126. [2021-04-19 15:24:32.781517] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 13bf2204-8840-6740-8990-b9e15c603c12, state change request 2 --> 3
  127. [2021-04-19 15:24:32.781984] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 13bf2204-8840-6740-8990-b9e15c603c12, 3, codes: [200, 0x0, 0x0], 1837 / 1837
  128. [2021-04-19 15:24:32.782174] [0x00007f56e6c34700] [info]    {TraceDownloadCompleted} id: 13bf2204-8840-6740-8990-b9e15c603c12, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/43A54FC03C6A979E9AAEAE2493757D1429A5C8A8D093FB7B8103E8CC8DF7B6B6, mccHost: , filePath: /tmp/docs_test_scratch/smallfile.test, bytes: [total: 1837, down: 1837], timeMS: 325
  129. [2021-04-19 15:24:32.782277] [0x00007f56ea621000] [error]   {_GetDownload} (hr:80070490) it == _downloads.end() [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download_manager.cpp, 115]
  130. [2021-04-19 15:24:33.059159] [0x00007f56d87f0700] [error]   {operator()} (hr:80190194) hrRequest [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237]
  131. [2021-04-19 15:24:33.059943] [0x00007f56d87f0700] [error]   {operator()} (hr:80190194) DO failure: (null) (hr:0x80190194) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237], {hrRequest} [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  132. [2021-04-19 15:24:33.060553] [0x00007f56d87f0700] [warning] {operator()} (hr:80190194) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, host: main.oremdl.microsoft.com.nsatc.net
  133. [2021-04-19 15:24:33.061121] [0x00007f56e6c34700] [warning] {IsConnected} No network connectivity detected
  134. [2021-04-19 15:24:33.061226] [0x00007f56e6c34700] [info]    {_HandleTransientError} c2ae6552-1a04-c44e-9baa-c49a32b27d39, transient error: 80d03805, will retry in 30 seconds
  135. [2021-04-19 15:24:33.146553] [0x00007f56d0fe1700] [info]    {OnHeadersAvailable} a3934605-8eb7-044f-95b1-06e5099a9d43, http_status: 200, content_length: 536870440, headers:
  136. Accept-Ranges:bytes
  137. Content-Length:536870440
  138. Content-Type:text/plain
  139. Date:Mon, 19 Apr 2021 13:24:32 GMT
  140. ETag:"0754f838741d41:0"
  141. Last-Modified:Sat, 01 Sep 2018 00:05:38 GMT
  142. Server:Microsoft-IIS/10.0
  143. X-Powered-By:ASP.NET
  144.  
  145.  
  146. [2021-04-19 15:24:34.782874] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: c2ae6552-1a04-c44e-9baa-c49a32b27d39, 5, codes: [404, 0x0, 0x80d03805], 0 / 0
  147. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:28: Failure
  148.       Expected: status.Error
  149.       Which is: 0
  150. To be equal to: expectedError
  151.       Which is: -2145844844
  152. [2021-04-19 15:24:34.783721] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: a3934605-8eb7-044f-95b1-06e5099a9d43, 1, codes: [200, 0x0, 0x0], 1572864 / 536870440
  153. [2021-04-19 15:24:34.784019] [0x00007f56e6c34700] [trace]   {_PerformStateChange} c2ae6552-1a04-c44e-9baa-c49a32b27d39, state change request 5 --> 4
  154. [2021-04-19 15:24:34.784628] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: c2ae6552-1a04-c44e-9baa-c49a32b27d39, 4, codes: [404, 0x0, 0x80d03805], 0 / 0
  155. [2021-04-19 15:24:34.784730] [0x00007f56e6c34700] [info]    {TraceDownloadCanceled} (hr:0) id: c2ae6552-1a04-c44e-9baa-c49a32b27d39, extError: 80d03805, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, mccHost: /tmp/docs_test_scratch/nonexistentfile.test, filePath: , bytes: [total: 0, down: 0]
  156. [2021-04-19 15:24:34.784949] [0x00007f56ea621000] [error]   {_GetDownload} (hr:80070490) it == _downloads.end() [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download_manager.cpp, 115]
  157. [2021-04-19 15:24:34.785267] [0x00007f56e6c34700] [trace]   {_PerformStateChange} a3934605-8eb7-044f-95b1-06e5099a9d43, state change request 1 --> 4
  158. [2021-04-19 15:24:34.792200] [0x00007f56cefdd700] [error]   {operator()} (hr:80004004) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  159. [2021-04-19 15:24:34.792289] [0x00007f56cefdd700] [warning] {operator()} (hr:80004004) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, host: main.oremdl.microsoft.com.nsatc.net
  160. [2021-04-19 15:24:34.793845] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: a3934605-8eb7-044f-95b1-06e5099a9d43, 4, codes: [200, 0x0, 0x0], 1572864 / 536870440
  161. [2021-04-19 15:24:34.794011] [0x00007f56e6c34700] [info]    {TraceDownloadCanceled} (hr:0) id: a3934605-8eb7-044f-95b1-06e5099a9d43, extError: 0, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, mccHost: /tmp/docs_test_scratch/largefile.test, filePath: , bytes: [total: 536870440, down: 1572864]
  162. [2021-04-19 15:24:34.794239] [0x00007f56ea621000] [error]   {_GetDownload} (hr:80070490) it == _downloads.end() [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download_manager.cpp, 115]
  163. [2021-04-19 15:24:34.794624] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  164. [  FAILED  ] DownloadManagerTests.MultipleDownloads (3141 ms)
  165. [ RUN      ] DownloadManagerTests.FileDownloadFatal404
  166. [2021-04-19 15:24:34.801671] [0x00007f56ea621000] [info]    {Download} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, dest: /tmp/docs_test_scratch/nonexistentfile.test
  167. [2021-04-19 15:24:34.801820] [0x00007f56ea621000] [info]    {GetProperty} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, key: 0
  168. [2021-04-19 15:24:34.802042] [0x00007f56e6c34700] [info]    {GetProperty} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, key: 1
  169. [2021-04-19 15:24:34.802346] [0x00007f56e6c34700] [info]    {GetProperty} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, key: 4
  170. [2021-04-19 15:24:34.802639] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, state change request 0 --> 1
  171. [2021-04-19 15:24:34.837052] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  172. [2021-04-19 15:24:34.837109] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  173. [2021-04-19 15:24:34.837225] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  174. [2021-04-19 15:24:34.837470] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  175. [2021-04-19 15:24:34.837517] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  176. [2021-04-19 15:24:34.837553] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  177. [2021-04-19 15:24:34.837588] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  178. [2021-04-19 15:24:34.837634] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  179. [2021-04-19 15:24:34.838109] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  180. [2021-04-19 15:24:34.839630] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 6466c05c-a2c9-c04a-87bf-70dd25a138c3, 1, codes: [0, 0x0, 0x0], 0 / 0
  181. [2021-04-19 15:24:34.839684] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 6466c05c-a2c9-c04a-87bf-70dd25a138c3, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, filePath: /tmp/docs_test_scratch/nonexistentfile.test, mccHost:
  182. [2021-04-19 15:24:35.171900] [0x00007f56dffff700] [error]   {operator()} (hr:80190194) hrRequest [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237]
  183. [2021-04-19 15:24:35.172210] [0x00007f56dffff700] [error]   {operator()} (hr:80190194) DO failure: (null) (hr:0x80190194) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237], {hrRequest} [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  184. [2021-04-19 15:24:35.172259] [0x00007f56dffff700] [warning] {operator()} (hr:80190194) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, host: main.oremdl.microsoft.com.nsatc.net
  185. [2021-04-19 15:24:35.172532] [0x00007f56e6c34700] [warning] {IsConnected} No network connectivity detected
  186. [2021-04-19 15:24:35.172572] [0x00007f56e6c34700] [info]    {_HandleTransientError} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, transient error: 80d03805, will retry in 30 seconds
  187. [2021-04-19 15:24:36.841845] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 6466c05c-a2c9-c04a-87bf-70dd25a138c3, 5, codes: [404, 0x0, 0x80d03805], 0 / 0
  188. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:28: Failure
  189.       Expected: status.Error
  190.       Which is: 0
  191. To be equal to: expectedError
  192.       Which is: -2145844844
  193. Response headers: Content-Length:1245
  194. Content-Type:text/html
  195. Date:Mon, 19 Apr 2021 13:24:34 GMT
  196. Server:Microsoft-IIS/10.0
  197. X-Powered-By:ASP.NET
  198.  
  199.  
  200. [2021-04-19 15:24:36.842641] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 6466c05c-a2c9-c04a-87bf-70dd25a138c3, state change request 5 --> 4
  201. [2021-04-19 15:24:36.843118] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 6466c05c-a2c9-c04a-87bf-70dd25a138c3, 4, codes: [404, 0x0, 0x80d03805], 0 / 0
  202. [2021-04-19 15:24:36.843232] [0x00007f56e6c34700] [info]    {TraceDownloadCanceled} (hr:0) id: 6466c05c-a2c9-c04a-87bf-70dd25a138c3, extError: 80d03805, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, mccHost: /tmp/docs_test_scratch/nonexistentfile.test, filePath: , bytes: [total: 0, down: 0]
  203. [2021-04-19 15:24:36.843554] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  204. [  FAILED  ] DownloadManagerTests.FileDownloadFatal404 (2049 ms)
  205. [ RUN      ] DownloadManagerTests.FileMidDownloadTransient404
  206. [2021-04-19 15:24:36.850960] [0x00007f56ea621000] [info]    {Download} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, dest: /tmp/docs_test_scratch/largefile.test
  207. [2021-04-19 15:24:36.851039] [0x00007f56ea621000] [info]    {GetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, key: 0
  208. [2021-04-19 15:24:36.851273] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, state change request 0 --> 1
  209. [2021-04-19 15:24:36.876498] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  210. [2021-04-19 15:24:36.876561] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  211. [2021-04-19 15:24:36.876816] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  212. [2021-04-19 15:24:36.877123] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  213. [2021-04-19 15:24:36.877168] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  214. [2021-04-19 15:24:36.877206] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  215. [2021-04-19 15:24:36.877239] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  216. [2021-04-19 15:24:36.877268] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  217. [2021-04-19 15:24:36.877505] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  218. [2021-04-19 15:24:36.877942] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 1, codes: [0, 0x0, 0x0], 0 / 0
  219. [2021-04-19 15:24:36.877987] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  220. [2021-04-19 15:24:37.214383] [0x00007f56d07e0700] [info]    {OnHeadersAvailable} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, http_status: 200, content_length: 536870440, headers:
  221. Accept-Ranges:bytes
  222. Content-Length:536870440
  223. Content-Type:text/plain
  224. Date:Mon, 19 Apr 2021 13:24:36 GMT
  225. ETag:"0754f838741d41:0"
  226. Last-Modified:Sat, 01 Sep 2018 00:05:38 GMT
  227. Server:Microsoft-IIS/10.0
  228. X-Powered-By:ASP.NET
  229.  
  230.  
  231. [2021-04-19 15:24:38.878679] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, state change request 1 --> 5
  232. [2021-04-19 15:24:38.880841] [0x00007f56d3fe7700] [error]   {operator()} (hr:80004004) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  233. [2021-04-19 15:24:38.880890] [0x00007f56d3fe7700] [warning] {operator()} (hr:80004004) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, host: main.oremdl.microsoft.com.nsatc.net
  234. [2021-04-19 15:24:38.881315] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 5, codes: [200, 0x0, 0x0], 655360 / 536870440
  235. [2021-04-19 15:24:38.881392] [0x00007f56e6c34700] [info]    {TraceDownloadPaused} (hr:0) id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, extError: 0, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, mccHost: , filePath: /tmp/docs_test_scratch/largefile.test, bytes: [total: 536870440, down: 655360]
  236. [2021-04-19 15:24:38.881580] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 5, codes: [200, 0x0, 0x0], 720896 / 536870440
  237. [2021-04-19 15:24:38.881740] [0x00007f56e6c34700] [info]    {SetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 1 = http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  238. [2021-04-19 15:24:38.881968] [0x00007f56e6c34700] [info]    {SetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, URL changed, reset progress tracker and proxy list
  239. [2021-04-19 15:24:38.917473] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  240. [2021-04-19 15:24:38.917779] [0x00007f56e6c34700] [info]    {SetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 10 = 22
  241. [2021-04-19 15:24:38.917907] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, state change request 5 --> 1
  242. [2021-04-19 15:24:38.918080] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  243. [2021-04-19 15:24:38.918132] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  244. [2021-04-19 15:24:38.918179] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  245. [2021-04-19 15:24:38.918219] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  246. [2021-04-19 15:24:38.918284] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, requesting range: 720896-536870439 from http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  247. [2021-04-19 15:24:38.918570] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent
  248. [2021-04-19 15:24:38.918945] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 1, codes: [200, 0x0, 0x0], 720896 / 536870440
  249. [2021-04-19 15:24:38.919228] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  250. [2021-04-19 15:24:39.258977] [0x00007f56cffdf700] [error]   {operator()} (hr:80190194) hrRequest [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237]
  251. [2021-04-19 15:24:39.259243] [0x00007f56daff5700] [error]   {operator()} (hr:80190194) DO failure: (null) (hr:0x80190194) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237], {hrRequest} [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  252. [2021-04-19 15:24:39.259314] [0x00007f56daff5700] [warning] {operator()} (hr:80190194) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/49c591d405d307e25e72a19f7e79b53d69f19954/nonexistent, host: main.oremdl.microsoft.com.nsatc.net
  253. [2021-04-19 15:24:39.259545] [0x00007f56e6c34700] [warning] {IsConnected} No network connectivity detected
  254. [2021-04-19 15:24:39.259600] [0x00007f56e6c34700] [info]    {_HandleTransientError} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, transient error: 80d03805, will retry in 30 seconds
  255. [2021-04-19 15:24:40.920033] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 5, codes: [404, 0x0, 0x80d03805], 720896 / 536870440
  256. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:28: Failure
  257.       Expected: status.Error
  258.       Which is: 0
  259. To be equal to: expectedError
  260.       Which is: -2145844844
  261. [2021-04-19 15:24:40.920447] [0x00007f56e6c34700] [info]    {SetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, 1 = http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  262. [2021-04-19 15:24:40.920524] [0x00007f56e6c34700] [info]    {SetProperty} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, URL changed, reset progress tracker and proxy list
  263. [2021-04-19 15:24:40.939820] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  264. [2021-04-19 15:24:40.940200] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 9aaa814d-31d8-0f42-ab96-4c653ebc81a7, state change request 5 --> 1
  265. [2021-04-19 15:24:40.940455] [0x00007f56e6c34700] [error]   {_Resume} (hr:80070057) Error: 1, basic_ios::clear: iostream error, file: /tmp/docs_test_scratch/largefile.test [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 288]
  266. [2021-04-19 15:24:40.940573] [0x00007f56e6c34700] [error]   {operator()} (hr:80070057) DO failure: Error: 1, basic_ios::clear: iostream error, file: /tmp/docs_test_scratch/largefile.test (hr:0x80070057) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 288], {E_INVALIDARG} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  267. [2021-04-19 15:24:40.940645] [0x00007f56ea621000] [error]   {SchedBlock} (hr:80070057) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  268. [2021-04-19 15:24:40.940714] [0x00007f56ea621000] [error]   {StartAndWaitUntilNotTransferring} (hr:80070057) DO failure: (null) (hr:0x80070057) [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96], {hr} [/home/matthias/Desktop/azure/do-client/client-lite/test/download_manager_tests.cpp, 26]
  269. /home/matthias/Desktop/azure/do-client/client-lite/test/download_manager_tests.cpp:163: Failure
  270.       Expected: StartAndWaitUntilNotTransferring(manager, id, 5min)
  271.       Which is: -2147024809
  272. To be equal to: ((HRESULT)0L)
  273.       Which is: 0
  274. [2021-04-19 15:24:40.943051] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  275. [  FAILED  ] DownloadManagerTests.FileMidDownloadTransient404 (4100 ms)
  276. [ RUN      ] DownloadManagerTests.HttpsFileDownload
  277. [2021-04-19 15:24:40.947179] [0x00007f56ea621000] [info]    {Download} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, new download, url: https://omextemplates.content.office.net/support/templates/en-us/tf01228997.accdt, dest: /tmp/docs_test_scratch/httpsfile.test
  278. [2021-04-19 15:24:40.947230] [0x00007f56ea621000] [info]    {GetProperty} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, key: 0
  279. [2021-04-19 15:24:40.947773] [0x00007f56e6c34700] [info]    {GetProperty} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, key: 1
  280. [2021-04-19 15:24:40.951604] [0x00007f56e6c34700] [info]    {GetProperty} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, key: 4
  281. [2021-04-19 15:24:40.952854] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, state change request 0 --> 1
  282. [2021-04-19 15:24:40.972096] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  283. [2021-04-19 15:24:40.972171] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  284. [2021-04-19 15:24:40.972283] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  285. [2021-04-19 15:24:40.972493] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  286. [2021-04-19 15:24:40.972545] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  287. [2021-04-19 15:24:40.972576] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  288. [2021-04-19 15:24:40.972604] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  289. [2021-04-19 15:24:40.972633] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, requesting full file from https://omextemplates.content.office.net/support/templates/en-us/tf01228997.accdt
  290. [2021-04-19 15:24:40.972846] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for https://omextemplates.content.office.net/support/templates/en-us/tf01228997.accdt
  291. [2021-04-19 15:24:40.982073] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, 1, codes: [0, 0x0, 0x0], 0 / 0
  292. [2021-04-19 15:24:40.982608] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, url: https://omextemplates.content.office.net/support/templates/en-us/tf01228997.accdt, filePath: /tmp/docs_test_scratch/httpsfile.test, mccHost:
  293. [2021-04-19 15:24:40.982754] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, 1, codes: [0, 0x0, 0x0], 0 / 0
  294. [2021-04-19 15:24:41.090412] [0x00007f56cefdd700] [info]    {OnHeadersAvailable} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, http_status: 200, content_length: 2054738, headers:
  295. Connection:keep-alive
  296. Content-Length:2054738
  297. Content-MD5:94MTDdpUsJA5FYg5tpTM+g==
  298. Content-Type:application/octet-stream
  299. Date:Mon, 19 Apr 2021 13:24:41 GMT
  300. ETag:0x8D589F4956A53C2
  301. Last-Modified:Wed, 14 Mar 2018 21:43:11 GMT
  302. Server:Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
  303. x-ms-blob-type:BlockBlob
  304. x-ms-lease-status:unlocked
  305. x-ms-request-id:dc8b6f45-f01e-0111-4e73-34b68d000000
  306. x-ms-version:2009-09-19
  307.  
  308.  
  309. [2021-04-19 15:24:41.985145] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, 2, codes: [200, 0x0, 0x0], 2054738 / 2054738
  310. [2021-04-19 15:24:41.985235] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, 2, codes: [200, 0x0, 0x0], 2054738 / 2054738
  311. [2021-04-19 15:24:41.985382] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, state change request 2 --> 3
  312. [2021-04-19 15:24:41.985969] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, 3, codes: [200, 0x0, 0x0], 2054738 / 2054738
  313. [2021-04-19 15:24:41.986010] [0x00007f56e6c34700] [info]    {TraceDownloadCompleted} id: 84e7a6d5-70c3-3742-ae80-ddd226a68fb6, url: https://omextemplates.content.office.net/support/templates/en-us/tf01228997.accdt, mccHost: , filePath: /tmp/docs_test_scratch/httpsfile.test, bytes: [total: 2054738, down: 2054738], timeMS: 329
  314. [2021-04-19 15:24:41.986130] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  315. [       OK ] DownloadManagerTests.HttpsFileDownload (1043 ms)
  316. [ RUN      ] DownloadManagerTests.PauseResumeDownload
  317. [2021-04-19 15:24:41.990112] [0x00007f56ea621000] [info]    {Download} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, dest: /tmp/docs_test_scratch/largefile.test
  318. [2021-04-19 15:24:41.990154] [0x00007f56ea621000] [info]    {GetProperty} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, key: 0
  319. [2021-04-19 15:24:41.990251] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, state change request 0 --> 1
  320. [2021-04-19 15:24:42.005555] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  321. [2021-04-19 15:24:42.005608] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  322. [2021-04-19 15:24:42.005774] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  323. [2021-04-19 15:24:42.005977] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  324. [2021-04-19 15:24:42.006038] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  325. [2021-04-19 15:24:42.006060] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  326. [2021-04-19 15:24:42.006088] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  327. [2021-04-19 15:24:42.006125] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  328. [2021-04-19 15:24:42.006337] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  329. [2021-04-19 15:24:42.006650] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 1, codes: [0, 0x0, 0x0], 0 / 0
  330. [2021-04-19 15:24:42.006678] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  331. [2021-04-19 15:24:42.342068] [0x00007f56d67ec700] [info]    {OnHeadersAvailable} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, http_status: 200, content_length: 536870440, headers:
  332. Accept-Ranges:bytes
  333. Content-Length:536870440
  334. Content-Type:text/plain
  335. Date:Mon, 19 Apr 2021 13:24:42 GMT
  336. ETag:"0754f838741d41:0"
  337. Last-Modified:Sat, 01 Sep 2018 00:05:38 GMT
  338. Server:Microsoft-IIS/10.0
  339. X-Powered-By:ASP.NET
  340.  
  341.  
  342. [2021-04-19 15:24:43.007042] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 1, codes: [200, 0x0, 0x0], 131072 / 536870440
  343. [2021-04-19 15:24:43.007372] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, state change request 1 --> 5
  344. [2021-04-19 15:24:43.008250] [0x00007f56ddffb700] [error]   {operator()} (hr:80004004) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  345. [2021-04-19 15:24:43.008286] [0x00007f56ddffb700] [warning] {operator()} (hr:80004004) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, host: main.oremdl.microsoft.com.nsatc.net
  346. [2021-04-19 15:24:43.009302] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 5, codes: [200, 0x0, 0x0], 131072 / 536870440
  347. [2021-04-19 15:24:43.009351] [0x00007f56e6c34700] [info]    {TraceDownloadPaused} (hr:0) id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, extError: 0, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, mccHost: , filePath: /tmp/docs_test_scratch/largefile.test, bytes: [total: 536870440, down: 131072]
  348. [2021-04-19 15:24:43.009498] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 5, codes: [200, 0x0, 0x0], 262144 / 536870440
  349. [2021-04-19 15:24:43.009633] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, state change request 5 --> 1
  350. [2021-04-19 15:24:43.009759] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  351. [2021-04-19 15:24:43.009805] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  352. [2021-04-19 15:24:43.009841] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  353. [2021-04-19 15:24:43.009882] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  354. [2021-04-19 15:24:43.009918] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, requesting range: 262144-536870439 from http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  355. [2021-04-19 15:24:43.035567] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  356. [2021-04-19 15:24:43.035842] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 1, codes: [200, 0x0, 0x0], 262144 / 536870440
  357. [2021-04-19 15:24:43.035883] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  358. [2021-04-19 15:24:43.036067] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 1, codes: [200, 0x0, 0x0], 262144 / 536870440
  359. [2021-04-19 15:24:43.365289] [0x00007f56d77ee700] [info]    {OnHeadersAvailable} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, http_status: 206, content_length: 536870440, headers:
  360. Accept-Ranges:bytes
  361. Content-Length:536608296
  362. Content-Range:bytes 262144-536870439/536870440
  363. Content-Type:text/plain
  364. Date:Mon, 19 Apr 2021 13:24:43 GMT
  365. ETag:"0754f838741d41:0""0754f838741d41:0"
  366. Last-Modified:Sat, 01 Sep 2018 00:05:38 GMT
  367. Server:Microsoft-IIS/10.0
  368. X-Powered-By:ASP.NET
  369.  
  370.  
  371. [2021-04-19 15:29:24.544420] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, state change request 2 --> 3
  372. [2021-04-19 15:29:24.544673] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, 3, codes: [206, 0x0, 0x0], 536870440 / 536870440
  373. [2021-04-19 15:29:24.544723] [0x00007f56e6c34700] [info]    {TraceDownloadCompleted} id: 95b63e64-b8b8-af4b-80fe-e7f6d624efdf, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, mccHost: , filePath: /tmp/docs_test_scratch/largefile.test, bytes: [total: 536870440, down: 536870440], timeMS: 282470
  374. [2021-04-19 15:29:24.544837] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  375. [       OK ] DownloadManagerTests.PauseResumeDownload (282558 ms)
  376. [ RUN      ] DownloadManagerTests.DownloadUrlWithRedirects
  377. [2021-04-19 15:29:24.550328] [0x00007f56ea621000] [info]    {Download} 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, new download, url: http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb, dest: /tmp/docs_test_scratch/redirect.test
  378. [2021-04-19 15:29:24.550415] [0x00007f56ea621000] [info]    {GetProperty} 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, key: 0
  379. [2021-04-19 15:29:24.550676] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, state change request 0 --> 1
  380. [2021-04-19 15:29:24.611987] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  381. [2021-04-19 15:29:24.612068] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  382. [2021-04-19 15:29:24.612195] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  383. [2021-04-19 15:29:24.612522] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  384. [2021-04-19 15:29:24.612567] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  385. [2021-04-19 15:29:24.612590] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  386. [2021-04-19 15:29:24.612617] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  387. [2021-04-19 15:29:24.612640] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, requesting full file from http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb
  388. [2021-04-19 15:29:24.612854] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb
  389. [2021-04-19 15:29:24.613148] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, 1, codes: [0, 0x0, 0x0], 0 / 0
  390. [2021-04-19 15:29:24.613186] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, url: http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb, filePath: /tmp/docs_test_scratch/redirect.test, mccHost:
  391. [2021-04-19 15:29:24.613875] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, 1, codes: [0, 0x0, 0x0], 0 / 0
  392. [2021-04-19 15:29:25.215088] [0x00007f56d27e4700] [error]   {operator()} (hr:80190003) hrRequest [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237]
  393. [2021-04-19 15:29:25.215602] [0x00007f56e4fd0700] [error]   {operator()} (hr:80190003) DO failure: (null) (hr:0x80190003) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 237], {hrRequest} [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  394. [2021-04-19 15:29:25.215684] [0x00007f56e4fd0700] [warning] {operator()} (hr:80190003) Url: http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb, host: raspbian.raspberrypi.org
  395. [2021-04-19 15:29:25.216542] [0x00007f56e6c34700] [warning] {IsConnected} No network connectivity detected
  396. [2021-04-19 15:29:25.216792] [0x00007f56e6c34700] [info]    {_HandleTransientError} 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, transient error: 80d03805, will retry in 30 seconds
  397. [2021-04-19 15:29:25.650870] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, 5, codes: [302, 0x0, 0x80d03805], 0 / 0
  398. [2021-04-19 15:29:25.651180] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 9d52a6bd-7de7-ff4c-b1b9-5f598c5dfa9b, 5, codes: [302, 0x0, 0x80d03805], 0 / 0
  399. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:20: Failure
  400. Expected: (status.State) != (DownloadState::Paused), actual: 4-byte object <05-00 00-00> vs 4-byte object <05-00 00-00>
  401. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:55: Failure
  402.       Expected: status.State
  403.       Which is: 4-byte object <05-00 00-00>
  404. To be equal to: DownloadState::Transferred
  405.       Which is: 4-byte object <02-00 00-00>
  406. Response headers: Connection:close
  407. Content-Length:386
  408. Content-Type:text/html; charset=iso-8859-1
  409. Date:Mon, 19 Apr 2021 13:29:25 GMT
  410. Link:<http://raspbian.raspberrypi.org/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb.meta4>; rel=describedby; type="application/metalink4+xml", <http://mirror.netzwerge.de/raspbian/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb>; rel=duplicate; pri=1; geo=de, <http://ftp.gwdg.de/pub/linux/debian/raspbian/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb>; rel=duplicate; pri=2; geo=de, <http://mirror.chaoticum.net/rpi/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb>; rel=duplicate; pri=3; geo=de, <http://mirror.de.leaseweb.net/raspbian/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb>; rel=duplicate; pri=4; geo=de, <http://mirror.netcologne.de/raspbian/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb>; rel=duplicate; pri=5; geo=de
  411. Location:http://mirror.netzwerge.de/raspbian/raspbian/pool/main/b/boost1.62/libboost-random1.62.0_1.62.0+dfsg-4_armhf.deb
  412. Server:Apache/2.4.25 (Debian)
  413. X-MirrorBrain-Mirror:netzwerge
  414. X-MirrorBrain-Realm:country
  415.  
  416.  
  417. /home/matthias/Desktop/azure/do-client/client-lite/test/test_verifiers.h:63: Failure
  418.       Expected: download.HttpStatusCode()
  419.       Which is: 302
  420. To be equal to: expectedHttpStatusCode
  421.       Which is: 200
  422. [2021-04-19 15:29:25.652390] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  423. [  FAILED  ] DownloadManagerTests.DownloadUrlWithRedirects (1108 ms)
  424. [ RUN      ] DownloadManagerTests.InvalidUrl
  425. [2021-04-19 15:29:25.659628] [0x00007f56ea621000] [info]    {Download} b03f075a-5427-834e-9da9-d70a8ffe5ffb, new download, url: , dest:
  426. [2021-04-19 15:29:25.659703] [0x00007f56ea621000] [info]    {GetProperty} b03f075a-5427-834e-9da9-d70a8ffe5ffb, key: 0
  427. [2021-04-19 15:29:25.659924] [0x00007f56e6c34700] [info]    {SetProperty} b03f075a-5427-834e-9da9-d70a8ffe5ffb, 1 = invaliduri:http//
  428. [2021-04-19 15:29:25.660002] [0x00007f56e6c34700] [error]   {SetProperty} (hr:800C0002) !HttpAgent::ValidateUrl(value) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82]
  429. [2021-04-19 15:29:25.660081] [0x00007f56e6c34700] [error]   {operator()} (hr:800C0002) DO failure: (null) (hr:0x800C0002) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82], {!HttpAgent::ValidateUrl(value)} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  430. [2021-04-19 15:29:25.660253] [0x00007f56ea621000] [error]   {SchedBlock} (hr:800C0002) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  431. [2021-04-19 15:29:25.660547] [0x00007f56e6c34700] [info]    {SetProperty} b03f075a-5427-834e-9da9-d70a8ffe5ffb, 1 = invalidurihttp
  432. [2021-04-19 15:29:25.660611] [0x00007f56e6c34700] [error]   {SetProperty} (hr:800C0002) !HttpAgent::ValidateUrl(value) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82]
  433. [2021-04-19 15:29:25.660676] [0x00007f56e6c34700] [error]   {operator()} (hr:800C0002) DO failure: (null) (hr:0x800C0002) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82], {!HttpAgent::ValidateUrl(value)} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  434. [2021-04-19 15:29:25.660826] [0x00007f56ea621000] [error]   {SchedBlock} (hr:800C0002) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  435. [2021-04-19 15:29:25.661092] [0x00007f56e6c34700] [info]    {SetProperty} b03f075a-5427-834e-9da9-d70a8ffe5ffb, 1 = http://
  436. [2021-04-19 15:29:25.661173] [0x00007f56e6c34700] [error]   {SetProperty} (hr:800C0002) !HttpAgent::ValidateUrl(value) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82]
  437. [2021-04-19 15:29:25.661239] [0x00007f56e6c34700] [error]   {operator()} (hr:800C0002) DO failure: (null) (hr:0x800C0002) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82], {!HttpAgent::ValidateUrl(value)} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  438. [2021-04-19 15:29:25.661422] [0x00007f56ea621000] [error]   {SchedBlock} (hr:800C0002) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  439. [2021-04-19 15:29:25.661832] [0x00007f56e6c34700] [info]    {SetProperty} b03f075a-5427-834e-9da9-d70a8ffe5ffb, 1 = ftp://server.com
  440. [2021-04-19 15:29:25.661928] [0x00007f56e6c34700] [error]   {SetProperty} (hr:800C0002) !HttpAgent::ValidateUrl(value) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82]
  441. [2021-04-19 15:29:25.662077] [0x00007f56e6c34700] [error]   {operator()} (hr:800C0002) DO failure: (null) (hr:0x800C0002) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 82], {!HttpAgent::ValidateUrl(value)} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  442. [2021-04-19 15:29:25.662277] [0x00007f56ea621000] [error]   {SchedBlock} (hr:800C0002) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  443. [2021-04-19 15:29:25.662458] [0x00007f56ea621000] [error]   {Download} (hr:800C0002) !HttpAgent::ValidateUrl(_url) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 27]
  444. [2021-04-19 15:29:25.662818] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  445. [       OK ] DownloadManagerTests.InvalidUrl (10 ms)
  446. [ RUN      ] DownloadManagerTests.InvalidState
  447. [2021-04-19 15:29:25.669802] [0x00007f56ea621000] [info]    {Download} 46c62cf0-a150-6d46-b9f6-a41b88effa98, new download, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, dest:
  448. [2021-04-19 15:29:25.669984] [0x00007f56ea621000] [info]    {GetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, key: 0
  449. [2021-04-19 15:29:25.670258] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, 4 = /tmp/docs_test_scratch/largefile.test
  450. [2021-04-19 15:29:25.670615] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 46c62cf0-a150-6d46-b9f6-a41b88effa98, state change request 0 --> 1
  451. [2021-04-19 15:29:25.859402] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  452. [2021-04-19 15:29:25.859459] [0x00007f56e6c34700] [trace]   {_TryRefresh} json file not found at /etc/deliveryoptimization-agent/admin-config.json
  453. [2021-04-19 15:29:25.859596] [0x00007f56e6c34700] [error]   {Get} (hr:8007023E) std::exception: No such node (DOCacheHost) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/do_json_parser.h, 27]
  454. [2021-04-19 15:29:25.859944] [0x00007f56e6c34700] [info]    {_TryRefresh} Read json config file /etc/deliveryoptimization-agent/sdk-config.json
  455. [2021-04-19 15:29:25.859981] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} Parsing connection string: HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  456. [2021-04-19 15:29:25.860004] [0x00007f56e6c34700] [trace]   {GetHostNameFromIoTConnectionString} GatewayHostName not found in HostName=FS-Update.azure-devices.net;DeviceId=NoUpdate;SharedAccessKey=prvh3ttw0Z40xav+YNb0pvDnx9ISnA2L9qaUPKwyWRA=
  457. [2021-04-19 15:29:25.860031] [0x00007f56e6c34700] [trace]   {NextHost} Returning MCC host: []
  458. [2021-04-19 15:29:25.860054] [0x00007f56e6c34700] [info]    {_SendHttpRequest} 46c62cf0-a150-6d46-b9f6-a41b88effa98, requesting full file from http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  459. [2021-04-19 15:29:25.860263] [0x00007f56e6c34700] [trace]   {_CreateClient} New http_client for http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt
  460. [2021-04-19 15:29:25.860567] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 46c62cf0-a150-6d46-b9f6-a41b88effa98, 1, codes: [0, 0x0, 0x0], 0 / 0
  461. [2021-04-19 15:29:25.860604] [0x00007f56e6c34700] [info]    {TraceDownloadStart} (hr:0) id: 46c62cf0-a150-6d46-b9f6-a41b88effa98, url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, filePath: /tmp/docs_test_scratch/largefile.test, mccHost:
  462. [2021-04-19 15:29:26.555896] [0x00007f56ce7dc700] [info]    {OnHeadersAvailable} 46c62cf0-a150-6d46-b9f6-a41b88effa98, http_status: 200, content_length: 536870440, headers:
  463. Accept-Ranges:bytes
  464. Content-Length:536870440
  465. Content-Type:text/plain
  466. Date:Mon, 19 Apr 2021 13:29:26 GMT
  467. ETag:"0754f838741d41:0"
  468. Last-Modified:Sat, 01 Sep 2018 00:05:38 GMT
  469. Server:Microsoft-IIS/10.0
  470. X-Powered-By:ASP.NET
  471.  
  472.  
  473. [2021-04-19 15:29:26.862514] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 46c62cf0-a150-6d46-b9f6-a41b88effa98, 1, codes: [200, 0x0, 0x0], 0 / 536870440
  474. [2021-04-19 15:29:26.863000] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, 1 = http://www.example.com
  475. [2021-04-19 15:29:26.865017] [0x00007f56e6c34700] [error]   {SetProperty} (hr:80D02013) (_status.State != DownloadState::Created) && (_status.State != DownloadState::Paused) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 83]
  476. [2021-04-19 15:29:26.865260] [0x00007f56e6c34700] [error]   {operator()} (hr:80D02013) DO failure: (null) (hr:0x80D02013) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 83], {(_status.State != DownloadState::Created) && (_status.State != DownloadState::Paused)} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  477. [2021-04-19 15:29:26.867820] [0x00007f56ea621000] [error]   {SchedBlock} (hr:80D02013) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  478. [2021-04-19 15:29:26.868327] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, 4 = /tmp/docs_test_scratch/largefile.test
  479. [2021-04-19 15:29:26.868469] [0x00007f56e6c34700] [error]   {SetProperty} (hr:80D02013) _status.State != DownloadState::Created [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 97]
  480. [2021-04-19 15:29:26.868609] [0x00007f56e6c34700] [error]   {operator()} (hr:80D02013) DO failure: (null) (hr:0x80D02013) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 97], {_status.State != DownloadState::Created} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  481. [2021-04-19 15:29:26.876432] [0x00007f56ea621000] [error]   {SchedBlock} (hr:80D02013) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  482. [2021-04-19 15:29:26.877014] [0x00007f56e6c34700] [trace]   {_PerformStateChange} 46c62cf0-a150-6d46-b9f6-a41b88effa98, state change request 1 --> 5
  483. [2021-04-19 15:29:26.879266] [0x00007f56cf7de700] [error]   {operator()} (hr:80004004) [/home/matthias/Desktop/azure/do-client/client-lite/src/util/http_agent.cpp, 252]
  484. [2021-04-19 15:29:26.879346] [0x00007f56cf7de700] [warning] {operator()} (hr:80004004) Url: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, host: main.oremdl.microsoft.com.nsatc.net
  485. [2021-04-19 15:29:26.879808] [0x00007f56e6c34700] [trace]   {TraceDownloadStatus} id: 46c62cf0-a150-6d46-b9f6-a41b88effa98, 5, codes: [200, 0x0, 0x0], 0 / 536870440
  486. [2021-04-19 15:29:26.879972] [0x00007f56e6c34700] [info]    {TraceDownloadPaused} (hr:0) id: 46c62cf0-a150-6d46-b9f6-a41b88effa98, extError: 0, cdnUrl: http://main.oremdl.microsoft.com.nsatc.net/dotc/ReplacementDCATFile.txt, mccHost: , filePath: /tmp/docs_test_scratch/largefile.test, bytes: [total: 536870440, down: 0]
  487. [2021-04-19 15:29:26.880382] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, 1 = http://www.example.com
  488. [2021-04-19 15:29:26.880507] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, URL changed, reset progress tracker and proxy list
  489. [2021-04-19 15:29:26.940401] [0x00007f56e6c34700] [trace]   {Get} Proxy[0]: direct://
  490. [2021-04-19 15:29:26.941106] [0x00007f56e6c34700] [info]    {SetProperty} 46c62cf0-a150-6d46-b9f6-a41b88effa98, 4 = /tmp/docs_test_scratch/largefile.test
  491. [2021-04-19 15:29:26.941148] [0x00007f56e6c34700] [error]   {SetProperty} (hr:80D02013) _status.State != DownloadState::Created [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 97]
  492. [2021-04-19 15:29:26.941253] [0x00007f56e6c34700] [error]   {operator()} (hr:80D02013) DO failure: (null) (hr:0x80D02013) [/home/matthias/Desktop/azure/do-client/client-lite/src/download/download.cpp, 97], {_status.State != DownloadState::Created} [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 80]
  493. [2021-04-19 15:29:26.941858] [0x00007f56ea621000] [error]   {SchedBlock} (hr:80D02013) hr [/home/matthias/Desktop/azure/do-client/client-lite/src/threading/task_thread.cpp, 96]
  494. [2021-04-19 15:29:26.942031] [0x00007f56e6c34700] [info]    {_DoPoll} TaskThread exit
  495. [       OK ] DownloadManagerTests.InvalidState (1279 ms)
  496. [----------] 10 tests from DownloadManagerTests (296361 ms total)
  497.  
  498. [----------] Global test environment tear-down
  499. [==========] 10 tests from 1 test case ran. (296361 ms total)
  500. [  PASSED  ] 6 tests.
  501. [  FAILED  ] 4 tests, listed below:
  502. [  FAILED  ] DownloadManagerTests.MultipleDownloads
  503. [  FAILED  ] DownloadManagerTests.FileDownloadFatal404
  504. [  FAILED  ] DownloadManagerTests.FileMidDownloadTransient404
  505. [  FAILED  ] DownloadManagerTests.DownloadUrlWithRedirects
  506.  
  507.  4 FAILED TESTS
  508.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement