MSI Force restart of windows - What could be the possible reason - redistributable

We are facing a problem. We had created an installer using WIX for our software to install on machines. In some cases when we run the installer, the installer shows a dialog showing that reboot is required and then it restarts the windows.
When we look into log files, it is showing different reasons of restarts. I am sharing one log file here.
The log file shows two points (or reasons) for restart for x64 packages on one machine: vcRuntimeMinimum_x64 and vcRuntimeAdditional_x64. Below is the complete log file.
[5508:3458][2022-05-06T10:24:57]i001: Burn v3.10.4.4718, Windows v10.0 (Build 19044: Service Pack 0), path: C:\WINDOWS\Temp\{479332BB-C6E7-4960-85F8-0DAE70368140}\.cr\VC_redist.x64.exe
[5508:3458][2022-05-06T10:24:57]i009: Command Line: '"-burn.clean.room=C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\VC_redist.x64.exe" -burn.filehandle.attached=728 -burn.filehandle.self=544 /q /log C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64.log'
[5508:3458][2022-05-06T10:24:57]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\VC_redist.x64.exe'
[5508:3458][2022-05-06T10:24:57]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\'
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64.log'
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.31103'
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[5508:4C78][2022-05-06T10:24:58]i000: Setting version variable 'WixBundleFileVersion' to value '14.31.31103.0'
[5508:3458][2022-05-06T10:24:58]i100: Detect begin, 11 packages
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'Arm64_Check' to value 'AMD64'
[5508:3458][2022-05-06T10:24:58]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.19041.789'
[5508:3458][2022-05-06T10:24:58]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
[5508:3458][2022-05-06T10:24:58]i102: Detected related bundle: {2c673fb6-3e65-4751-965d-33d30b68a8a6}, type: Upgrade, scope: PerMachine, version: 14.29.30139.0, operation: MajorUpgrade
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64)) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i103: Detected related package: {A6D3F752-BF11-4D7C-B19C-F6F96A35CF50}, scope: PerMachine, version: 14.29.30139.0, language: 0 operation: MajorUpgrade
[5508:3458][2022-05-06T10:24:58]i103: Detected related package: {7F4A9F52-173F-4B0D-B1EA-269C32EDA827}, scope: PerMachine, version: 14.29.30139.0, language: 0 operation: MajorUpgrade
[5508:3458][2022-05-06T10:24:58]i103: Detected related package: {A6D3F752-BF11-4D7C-B19C-F6F96A35CF50}, scope: PerMachine, version: 14.29.30139.0, language: 0 operation: MajorUpgrade
[5508:3458][2022-05-06T10:24:58]i103: Detected related package: {7F4A9F52-173F-4B0D-B1EA-269C32EDA827}, scope: PerMachine, version: 14.29.30139.0, language: 0 operation: MajorUpgrade
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows81_x86, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows81_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows8_x86, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows8_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: vcRuntimeMinimum_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: vcRuntimeAdditional_x64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT >= v6.1' evaluates to true.
[5508:3458][2022-05-06T10:24:58]i199: Detect complete, result: 0x0
[5508:3458][2022-05-06T10:24:58]i200: Plan begin, 11 packages, action: Install
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86
[5508:3458][2022-05-06T10:24:58]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false.
[5508:3458][2022-05-06T10:24:58]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x64' to value 'C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_000_vcRuntimeMinimum_x64_rollback.log'
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_000_vcRuntimeMinimum_x64.log'
[5508:3458][2022-05-06T10:24:58]i052: Condition '(VersionNT64) AND NOT (Arm64_Check = "ARM64")' evaluates to true.
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x64' to value 'C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_001_vcRuntimeAdditional_x64_rollback.log'
[5508:3458][2022-05-06T10:24:58]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_001_vcRuntimeAdditional_x64.log'
[5508:3458][2022-05-06T10:24:58]i052: Condition 'Arm64_Check = "ARM64"' evaluates to false.
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i201: Planned package: vcRuntimeMinimum_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[5508:3458][2022-05-06T10:24:58]i201: Planned package: vcRuntimeAdditional_x64, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[5508:3458][2022-05-06T10:24:58]i201: Planned package: vcRuntime_arm64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[5508:3458][2022-05-06T10:24:58]i207: Planned related bundle: {2c673fb6-3e65-4751-965d-33d30b68a8a6}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[5508:3458][2022-05-06T10:24:58]i299: Plan complete, result: 0x0
[5508:3458][2022-05-06T10:24:58]i300: Apply begin
[5508:3458][2022-05-06T10:24:58]i010: Launching elevated engine process.
[5508:3458][2022-05-06T10:24:58]i011: Launched elevated engine process.
[5508:3458][2022-05-06T10:24:58]i012: Connected to elevated engine.
[10B0:516C][2022-05-06T10:24:58]i358: Pausing automatic updates.
[10B0:516C][2022-05-06T10:24:58]i359: Paused automatic updates.
[10B0:516C][2022-05-06T10:24:58]i360: Creating a system restore point.
[10B0:516C][2022-05-06T10:25:06]i361: Created a system restore point.
[10B0:516C][2022-05-06T10:25:06]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2aaf1df0-eb13-4099-9992-962bb4e596d1}, options: 0x7, disable resume: No
[10B0:516C][2022-05-06T10:25:06]i000: Caching bundle from: 'C:\WINDOWS\Temp\{DD747657-3AEF-4813-B6F5-D9023BF431F4}\.be\VC_redist.x64.exe' to: 'C:\ProgramData\Package Cache\{2aaf1df0-eb13-4099-9992-962bb4e596d1}\VC_redist.x64.exe'
[10B0:516C][2022-05-06T10:25:06]i320: Registering bundle dependency provider: VC,redist.x64,amd64,14.31,bundle, version: 14.31.31103.0
[10B0:516C][2022-05-06T10:25:06]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2aaf1df0-eb13-4099-9992-962bb4e596d1}, resume: Active, restart initiated: No, disable resume: No
[10B0:48B0][2022-05-06T10:25:06]i305: Verified acquired payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeMinimum_x64, moving to: C:\ProgramData\Package Cache\{A181A302-3F6D-4BAD-97A8-A426A6499D78}v14.31.31103\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi.
[10B0:48B0][2022-05-06T10:25:06]i305: Verified acquired payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\.unverified\cab5046A8AB272BF37297BB7928664C9503, moving to: C:\ProgramData\Package Cache\{A181A302-3F6D-4BAD-97A8-A426A6499D78}v14.31.31103\packages\vcRuntimeMinimum_amd64\cab1.cab.
[10B0:48B0][2022-05-06T10:25:06]i305: Verified acquired payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeAdditional_x64, moving to: C:\ProgramData\Package Cache\{A977984B-9244-49E3-BD24-43F0A8009667}v14.31.31103\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi.
[10B0:48B0][2022-05-06T10:25:06]i305: Verified acquired payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\.unverified\cab2C04DDC374BD96EB5C8EB8208F2C7C92, moving to: C:\ProgramData\Package Cache\{A977984B-9244-49E3-BD24-43F0A8009667}v14.31.31103\packages\vcRuntimeAdditional_amd64\cab1.cab.
[10B0:516C][2022-05-06T10:25:06]i301: Applying execute package: vcRuntimeMinimum_x64, action: Install, path: C:\ProgramData\Package Cache\{A181A302-3F6D-4BAD-97A8-A426A6499D78}v14.31.31103\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[5508:3458][2022-05-06T10:25:20]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: Required
[10B0:516C][2022-05-06T10:25:20]i325: Registering dependency: {2aaf1df0-eb13-4099-9992-962bb4e596d1} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64
[10B0:516C][2022-05-06T10:25:20]i301: Applying execute package: vcRuntimeAdditional_x64, action: Install, path: C:\ProgramData\Package Cache\{A977984B-9244-49E3-BD24-43F0A8009667}v14.31.31103\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[5508:3458][2022-05-06T10:25:32]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: Required
[10B0:516C][2022-05-06T10:25:32]i325: Registering dependency: {2aaf1df0-eb13-4099-9992-962bb4e596d1} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[10B0:516C][2022-05-06T10:25:32]i301: Applying execute package: {2c673fb6-3e65-4751-965d-33d30b68a8a6}, action: Uninstall, path: C:\ProgramData\Package Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe, arguments: '"C:\ProgramData\Package Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe" -uninstall -quiet -burn.related.upgrade -burn.ancestors={2aaf1df0-eb13-4099-9992-962bb4e596d1} -burn.filehandle.self=1048'
[5508:3458][2022-05-06T10:25:33]i319: Applied execute package: {2c673fb6-3e65-4751-965d-33d30b68a8a6}, result: 0x0, restart: None
[10B0:516C][2022-05-06T10:25:33]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2aaf1df0-eb13-4099-9992-962bb4e596d1}, resume: ARP, restart: Required, disable resume: No
[10B0:516C][2022-05-06T10:25:33]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2aaf1df0-eb13-4099-9992-962bb4e596d1}, resume: ARP, restart initiated: No, disable resume: No
[5508:3458][2022-05-06T10:25:33]i399: Apply complete, result: 0x0, restart: Required, ba requested restart: No
[5508:3458][2022-05-06T10:25:33]i500: Shutting down, exit code: 0xbc2
[5508:3458][2022-05-06T10:25:33]i004: Bootstrapper application requested restart at shutdown. Planned to restart already: No.
[5508:3458][2022-05-06T10:25:33]i410: Variable: Arm64_Check = AMD64
[5508:3458][2022-05-06T10:25:33]i410: Variable: SystemFolder = C:\WINDOWS\system32\
[5508:3458][2022-05-06T10:25:33]i410: Variable: VersionNT = 10.0.0.0
[5508:3458][2022-05-06T10:25:33]i410: Variable: VersionNT64 = 10.0.0.0
[5508:3458][2022-05-06T10:25:33]i410: Variable: windows_uCRT_DetectKey = 10.0.19041.789
[5508:3458][2022-05-06T10:25:33]i410: Variable: windows_uCRT_DetectKeyExists = 1
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleAction = 5
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleElevated = 1
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleFileVersion = 14.31.31103.0
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleInstalled = 0
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleLog = C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64.log
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleLog_vcRuntimeAdditional_x64 = C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_001_vcRuntimeAdditional_x64.log
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleLog_vcRuntimeMinimum_x64 = C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_000_vcRuntimeMinimum_x64.log
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleManufacturer = Microsoft Corporation
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleName = Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.31103
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleOriginalSource = C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\VC_redist.x64.exe
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleOriginalSourceFolder = C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleProviderKey = VC,redist.x64,amd64,14.31,bundle
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleRollbackLog_vcRuntimeAdditional_x64 = C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_001_vcRuntimeAdditional_x64_rollback.log
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleRollbackLog_vcRuntimeMinimum_x64 = C:\Users\perss\AppData\Local\Temp\iX_vNext_Internal_20220506102445_000_vcredist14x64_000_vcRuntimeMinimum_x64_rollback.log
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleSourceProcessFolder = C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleSourceProcessPath = C:\ProgramData\Package Cache\7741A5CAD238CE3E4CA7756058F2A67A57FEE9D1\VC_redist.x64.exe
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleTag =
[5508:3458][2022-05-06T10:25:33]i410: Variable: WixBundleVersion = 14.31.31103.0
[5508:3458][2022-05-06T10:25:33]i007: Exit code: 0xbc2, restarting: Yes
[5508:3458][2022-05-06T10:25:33]w005: Restarting computer...

Related

Ansible showing task changed but the task has condition (creates: ) and does not actually execute

My ansible-playbook is running some long running task with async tag and also utilizes "creates:" condition, so it is run only once on the server. When I was writing the playbook yesterday, I am pretty sure, the task was skipped when the log set in "creates:" tag existed.
It shows changed now though, everytime I run it.
I am confused as I do not think I did change anything and I'd like to set up my registered varaible correctly as unchanged, when the condition is true.
Output of ansible-play (debug section shows the task is changed: true):
TASK [singleserver : Install Assure1 SingleServer role] *********************************************************************************************************************************
changed: [crassure1]
TASK [singleserver : Debug] *************************************************************************************************************************************************************
ok: [crassure1] => {
"msg": {
"ansible_job_id": "637594935242.28556",
"changed": true,
"failed": false,
"finished": 0,
"results_file": "/root/.ansible_async/637594935242.28556",
"started": 1
}
}
But if I check the actual results file on the target maschine, it correctly resolved condition and did not actually execute the shell script, so the task should be unchanged (shows message the task is skipped as the log exists):
[root#crassure1 assure1]# cat "/root/.ansible_async/637594935242.28556"
{"invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "/opt/install/install_command.sh", "removes": null, "argv": null, "creates": "/opt/assure1/logs/SetupWizard.log", "chdir": null, "stdin_add_newline": true, "stdin": null}}, "cmd": "/opt/install/install_command.sh", "changed": false, "rc": 0, "stdout": "skipped, since /opt/assure1/logs/SetupWizard.log exists"}[root#crassure1 assure1]# Connection reset by 172.24.36.123 port 22
My playbook section looks like this:
- name: Install Assure1 SingleServer role
shell:
#cmd: "/opt/assure1/bin/SetupWizard -a --Depot /opt/install/:a1-local --First --WebFQDN crassure1.tspdata.local --Roles All"
cmd: "/opt/install/install_command.sh"
async: 7200
poll: 0
register: Assure1InstallWait
args:
creates: /opt/assure1/logs/SetupWizard.log
- name: Debug
debug:
msg: "{{ Assure1InstallWait }}"
- name: Check on Installation status every 15 minutes
async_status:
jid: "{{ Assure1InstallWait.ansible_job_id }}"
register: job_result
until: job_result.finished
retries: 30
delay: 900
when: Assure1InstallWait is changed
Is there something I am missing, or is that some kind of a bug?
I am limited by Ansible version available in configured trusted repo, so I am using ansible 2.9.25
Q: "The module shell shows changed every time I run it"
A: In async mode the task can't be skipped immediately. First, the module shell must find out whether the file /opt/assure1/logs/SetupWizard.log exists at the remote host or not. Then, if the file exists the module will decide to skip the execution of the command. But, you run the task asynchronously. In this case, Ansible starts the module and returns without waiting for the module to complete. That's what the registered variable Assure1InstallWait says. The task started but didn't finish yet.
"msg": {
"ansible_job_id": "637594935242.28556",
"changed": true,
"failed": false,
"finished": 0,
"results_file": "/root/.ansible_async/637594935242.28556",
"started": 1
}
The decision to set such a task changed is correct, I think because the execution on the remote host is going on.
Print the registered result of the module async. You'll see, that the command was skipped because the file exists (you've printed the async file at the remote instead). Here the attribute changed is set false because now we know the command didn't execute
job_result:
...
attempts: 1
changed: false
failed: false
finished: 1
msg: Did not run command since '/tmp/SetupWizard.log' exists
rc: 0
...

How to fix the "key too long" error and generate the Doctrine migrations table?

I'm using / setting up the Symfony DoctrineMigrationsBundle v2.2 configured as followed:
doctrine_migrations:
name: 'My Migrations'
migrations_paths:
'DoctrineMigrations': '%kernel.project_dir%/src/Migrations'
storage:
table_storage:
table_name: 'migrations'
version_column_name: 'version'
version_column_length: 1024
executed_at_column_name: 'executed_at'
# Seems not to be supported:
# Unrecognized option "execution_time_column_name" under "doctrine_migrations.storage.table_storage"
# execution_time_column_name: 'execution_time'
organize_migrations: false
# custom_template: ~
all_or_nothing: false
The RDBMS is MySQL v8, running (locally) on Ubuntu Desktop v20.04:
$ mysql --version
mysql Ver 8.0.22-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu))
The DEFAULT_CHARACTER_SET_NAME is utf8mb4, the DEFAULT_COLLATION_NAME is utf8mb4_unicode_ci:
SELECT
`DEFAULT_CHARACTER_SET_NAME`, `DEFAULT_COLLATION_NAME`
FROM
`INFORMATION_SCHEMA`.`SCHEMATA`
WHERE
`SCHEMA_NAME` = "payment"
;
+----------------------------+------------------------+
| DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME |
+----------------------------+------------------------+
| utf8mb4 | utf8mb4_unicode_ci |
+----------------------------+------------------------+
While I was playing with the configs, I created two migrations tables (I changed the doctrine_migrations.storage.table_storage.table_name multiple times), somehow... Now, after the configuration has bee completed I want to go the setup through cleanly again from scratch. So I removed both migrations tables and started again. But now I'm getting following error:
$ ./bin/console doctrine:migrations:status
...
In AbstractMySQLDriver.php line 106:
An exception occurred while executing 'CREATE TABLE migrations (version VARCHAR(1024) NOT NULL, executed_at DATETIME NOT NULL COMMENT '(DC2Type:datetime_immutable)', PRIMARY KEY(version)) DEFAULT CHARACTER
SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB':
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes
In PDOConnection.php line 43:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes
In PDOConnection.php line 41:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes
I tried to reduce the doctrine_migrations.storage.table_storage.version_column_length, but then I'm running in another error:
$ ./bin/console doctrine:migrations:status
...
In BaseNode.php line 348:
Invalid configuration for path "doctrine_migrations.storage.table_storage.version_column_length": The minimum length for the version column is 1024.
In ExprBuilder.php line 189:
The minimum length for the version column is 1024.
How to set this up correctly and get the migrations tables generated?
It's not a (clean) solution, but at least a workaround:
Removing the configuration doctrine_migrations.storage.table_storage.version_column_length makes it work again. The resulting configuration looks then like this:
$ bin/console debug:config doctrine_migrations
...
Current configuration for extension with alias "doctrine_migrations"
====================================================================
doctrine_migrations:
name: 'My Migrations'
migrations_paths:
DoctrineMigrations: /var/www/html/src/Migrations
storage:
table_storage:
table_name: migrations
version_column_name: version
executed_at_column_name: executed_at
version_column_length: null
organize_migrations: false
all_or_nothing: false
dir_name: /var/www/html/src/bundles/Wings/DoctrineMigrations
namespace: Application\Migrations
table_name: migration_versions
column_name: version
column_length: 14
executed_at_column_name: executed_at
custom_template: null

SaltStack disable local windows Administrator if it is enabled

I'd like to disable the built-in windows local administrator account if it is enabled.
As salt.state.user.present doesn't support disabling accounts, I'm using salt.modules.win_useradd.update. However, it disables the account even if it is already disabled.
I can't use unless or onlyif because they only use results parsed from shell commands.
Is there a way to use the boolean value for [user.info][account_disabled] in salt.module.win_useradd.info's return data 'changes' dictionary as a requirement?
I'd like to do something like the following:
builtin_administrator:
module.run:
- user.info:
- name: Administrator
disable_builtin_administrator:
module.run:
- user.update:
- name: Administrator
- account_disabled: true
- require:
- module: builtin_administrator
- require:
- module: builtin_administrator['changes']['user.info']['account_disabled']['false']
You can see the results data changes dictionary from win_useradd.info in the output:
local:
----------
ID: builtin_administrator
Function: module.run
Result: True
Comment: user.info: Built-in account for administering the computer/domain
Started: 15:59:56.440000
Duration: 15.0 ms
Changes:
----------
user.info:
----------
account_disabled:
True
account_locked:
False
active:
False
comment:
Built-in account for administering the computer/domain
description:
Built-in account for administering the computer/domain
disallow_change_password:
False
expiration_date:
2106-02-07 01:28:15
expired:
False
failed_logon_attempts:
0L
fullname:
gid:
groups:
- Administrators
home:
None
homedrive:
last_logon:
Never
logonscript:
name:
Administrator
passwd:
None
password_changed:
2019-10-09 09:22:00
password_never_expires:
True
profile:
None
successful_logon_attempts:
0L
uid:
S-1-5-21-3258603230-662395079-3947342588-500
----------
ID: disable_builtin_administrator
Function: module.run
Result: False
Comment: The following requisites were not found:
require:
module: builtin_administrator['changes']['user.info']['account_disabled']['false']
Started: 15:59:56.455000
Duration: 0.0 ms
Changes:
Summary for local
------------
Succeeded: 1 (changed=1)
Failed: 1
------------
Total states run: 2
Total run time: 15.000 ms
I'm testing with a Windows 10 1903 masterless salt-minion 2019.2.1 (Fluorine) where I set use_superseded for module.run in the minion config file.
Thanks in advance!
I settled for this:
localuser.disable.administrator:
cmd.run:
- name: "Get-LocalUser Administrator | Disable-LocalUser"
- shell: powershell
- onlyif: powershell -command "if ((Get-LocalUser | Where-Object {($_.Name -eq 'Administrator') -and ($_.Enabled -eq $true)}) -eq $null) {exit 1}"

What is example output for gcloud firebase test android run

My gcloud firebase test android run command is stuck uploading the app-debug-androidTest.apk. What is an example of the output for this command once it gets past the following point where it's stuck for me?
FirebaseTestLabPlayground[master]15:40:36 gcloud firebase test android run \
> --project locuslabs-android-sdk \
> --app app/build/outputs/apk/debug/app-debug.apk \
> --test app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk \
> --device model=Pixel2,version=27,locale=en_US,orientation=portrait \
> --verbosity debug
INFO: Test Service endpoint: [None]
INFO: Tool Results endpoint: [None]
DEBUG: Running [gcloud.firebase.test.android.run] with arguments: [--app: "app/build/outputs/apk/debug/app-debug.apk", --device: "[OrderedDict([(u'model', u'Pixel2'), (u'version', u'27'), (u'locale', u'en_US'), (u'orientation', u'portrait')])]", --project: "locuslabs-android-sdk", --test: "app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk", --verbosity: "debug"]
Have questions, feedback, or issues? Get support by visiting:
https://firebase.google.com/support/
DEBUG: Applying default auto_google_login: True
DEBUG: Applying default performance_metrics: True
DEBUG: Applying default num_flaky_test_attempts: 0
DEBUG: Applying default record_video: True
DEBUG: Applying default timeout: 900
DEBUG: Applying default async: False
INFO: Raw results root path is: [gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/]
Uploading [app/build/outputs/apk/debug/app-debug.apk] to Firebase Test Lab...
Uploading [app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk] to Firebase Test Lab...
What will likely come next?
Here is the rest of the transcript in case it helps anyone else who's stuck trying gcloud firebase test android run for the first time:
FirebaseTestLabPlayground[master]15:40:36 gcloud firebase test android run \
> --project locuslabs-android-sdk \
> --app app/build/outputs/apk/debug/app-debug.apk \
> --test app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk \
> --device model=Pixel2,version=27,locale=en_US,orientation=portrait \
> --verbosity debug
INFO: Test Service endpoint: [None]
INFO: Tool Results endpoint: [None]
DEBUG: Running [gcloud.firebase.test.android.run] with arguments: [--app: "app/build/outputs/apk/debug/app-debug.apk", --device: "[OrderedDict([(u'model', u'Pixel2'), (u'version', u'27'), (u'locale', u'en_US'), (u'orientation', u'portrait')])]", --project: "locuslabs-android-sdk", --test: "app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk", --verbosity: "debug"]
Have questions, feedback, or issues? Get support by visiting:
https://firebase.google.com/support/
DEBUG: Applying default auto_google_login: True
DEBUG: Applying default performance_metrics: True
DEBUG: Applying default num_flaky_test_attempts: 0
DEBUG: Applying default record_video: True
DEBUG: Applying default timeout: 900
DEBUG: Applying default async: False
INFO: Raw results root path is: [gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/]
Uploading [app/build/outputs/apk/debug/app-debug.apk] to Firebase Test Lab...
Uploading [app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk] to Firebase Test Lab...
Raw results will be stored in your GCS bucket at [https://console.developers.google.com/storage/browser/test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/]
DEBUG: TestMatrices.Create request:
<TestingProjectsTestMatricesCreateRequest
projectId: u'locuslabs-android-sdk'
requestId: '3c76ca4e247d4b38bf102ffcdbaa637b'
testMatrix: <TestMatrix
clientInfo: <ClientInfo
clientInfoDetails: [<ClientInfoDetail
key: u'Cloud SDK Version'
value: '242.0.0'>, <ClientInfoDetail
key: u'Release Track'
value: 'GA'>]
name: u'gcloud'>
environmentMatrix: <EnvironmentMatrix
androidDeviceList: <AndroidDeviceList
androidDevices: [<AndroidDevice
androidModelId: u'Pixel2'
androidVersionId: u'27'
locale: u'en_US'
orientation: u'portrait'>]>>
flakyTestAttempts: 0
resultStorage: <ResultStorage
googleCloudStorage: <GoogleCloudStorage
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/'>
toolResultsHistory: <ToolResultsHistory
projectId: u'locuslabs-android-sdk'>>
testExecutions: []
testSpecification: <TestSpecification
androidInstrumentationTest: <AndroidInstrumentationTest
appApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug.apk'>
orchestratorOption: OrchestratorOptionValueValuesEnum(ORCHESTRATOR_OPTION_UNSPECIFIED, 0)
testApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug-androidTest.apk'>
testTargets: []>
disablePerformanceMetrics: False
disableVideoRecording: False
testSetup: <TestSetup
account: <Account
googleAuto: <GoogleAuto>>
additionalApks: []
directoriesToPull: []
environmentVariables: []
filesToPush: []>
testTimeout: u'900s'>>>
DEBUG: TestMatrices.Create response:
<TestMatrix
clientInfo: <ClientInfo
clientInfoDetails: [<ClientInfoDetail
key: u'Cloud SDK Version'
value: u'242.0.0'>, <ClientInfoDetail
key: u'Release Track'
value: u'GA'>]
name: u'gcloud'>
environmentMatrix: <EnvironmentMatrix
androidDeviceList: <AndroidDeviceList
androidDevices: [<AndroidDevice
androidModelId: u'Pixel2'
androidVersionId: u'27'
locale: u'en_US'
orientation: u'portrait'>]>>
projectId: u'locuslabs-android-sdk'
resultStorage: <ResultStorage
googleCloudStorage: <GoogleCloudStorage
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/'>
toolResultsHistory: <ToolResultsHistory
projectId: u'locuslabs-android-sdk'>>
state: StateValueValuesEnum(VALIDATING, 1)
testExecutions: [<TestExecution
environment: <Environment
androidDevice: <AndroidDevice
androidModelId: u'Pixel2'
androidVersionId: u'27'
locale: u'en_US'
orientation: u'portrait'>>
id: u'matrix-fq9ojlzvta35a_execution-2kcgdj0bkm22a'
matrixId: u'matrix-fq9ojlzvta35a'
projectId: u'locuslabs-android-sdk'
state: StateValueValuesEnum(VALIDATING, 1)
testSpecification: <TestSpecification
androidInstrumentationTest: <AndroidInstrumentationTest
appApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug.apk'>
testApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug-androidTest.apk'>
testTargets: []>
testSetup: <TestSetup
account: <Account
googleAuto: <GoogleAuto>>
additionalApks: []
directoriesToPull: []
environmentVariables: []
filesToPush: []>
testTimeout: u'900s'>
timestamp: u'2019-04-19T08:42:36.638Z'>]
testMatrixId: u'matrix-fq9ojlzvta35a'
testSpecification: <TestSpecification
androidInstrumentationTest: <AndroidInstrumentationTest
appApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug.apk'>
testApk: <FileReference
gcsPath: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/app-debug-androidTest.apk'>
testTargets: []>
testSetup: <TestSetup
account: <Account
googleAuto: <GoogleAuto>>
additionalApks: []
directoriesToPull: []
environmentVariables: []
filesToPush: []>
testTimeout: u'900s'>
timestamp: u'2019-04-19T08:42:36.638Z'>
Test [matrix-fq9ojlzvta35a] has been created in the Google Cloud.
Firebase Test Lab will execute your instrumentation test on 1 device(s).
Creating individual test executions...done.
Test results will be streamed to [https://console.firebase.google.com/project/locuslabs-android-sdk/testlab/histories/bh.f0b3cb84d82b84d2/matrices/7272098978475034799].
15:42:48 Test is Pending
15:43:11 Starting attempt 1.
15:43:11 Test is Running
15:44:07 Started logcat recording.
15:44:07 Preparing device.
15:44:38 Logging in to Google account on device.
15:44:38 Installing apps.
15:44:53 Retrieving Pre-Test Package Stats information from the device.
15:44:53 Retrieving Performance Environment information from the device.
15:44:53 Started crash detection.
15:44:53 Started crash monitoring.
15:44:53 Started performance monitoring.
15:44:53 Started video recording.
15:44:53 Starting instrumentation test.
15:45:00 Completed instrumentation test.
15:45:14 Stopped performance monitoring.
15:45:29 Stopped crash monitoring.
15:45:29 Stopped logcat recording.
15:45:29 Retrieving Post-test Package Stats information from the device.
15:45:29 Logging out of Google account on device.
15:45:29 Done. Test time = 4 (secs)
15:45:29 Starting results processing. Attempt: 1
15:45:37 Completed results processing. Time taken = 4 (secs)
15:45:37 Test is Finished
INFO: Test matrix completed in state: FINISHED
Instrumentation testing complete.
More details are available at [https://console.firebase.google.com/project/locuslabs-android-sdk/testlab/histories/bh.f0b3cb84d82b84d2/matrices/7272098978475034799].
DEBUG:
TRHistoriesExecutions.Get response:
<Execution
completionTime: <Timestamp
nanos: 674000000
seconds: 1555663532>
creationTime: <Timestamp
nanos: 31000000
seconds: 1555663361>
executionId: u'7272098978475034799'
outcome: <Outcome
summary: SummaryValueValuesEnum(success, 4)>
specification: <Specification
androidTest: <AndroidTest
androidAppInfo: <AndroidAppInfo
name: u'FirebaseTestLabPlayground'
packageName: u'com.example.firebasetestlabplayground'
versionCode: u'1'
versionName: u'1.0'>
androidInstrumentationTest: <AndroidInstrumentationTest
testPackageId: u'com.example.firebasetestlabplayground.test'
testRunnerClass: u'android.support.test.runner.AndroidJUnitRunner'
testTargets: []>
testTimeout: <Duration
seconds: 900>>>
state: StateValueValuesEnum(complete, 0)
testExecutionMatrixId: u'matrix-fq9ojlzvta35a'>
DEBUG:
ToolResultsSteps.List response:
<ListStepsResponse
steps: [<Step
completionTime: <Timestamp
nanos: 849000000
seconds: 1555663531>
creationTime: <Timestamp
nanos: 232000000
seconds: 1555663361>
description: u'all targets'
dimensionValue: [<StepDimensionValueEntry
key: u'Model'
value: u'Pixel2'>, <StepDimensionValueEntry
key: u'Version'
value: u'27'>, <StepDimensionValueEntry
key: u'Locale'
value: u'en_US'>, <StepDimensionValueEntry
key: u'Orientation'
value: u'portrait'>]
labels: []
name: u'Instrumentation test'
outcome: <Outcome
summary: SummaryValueValuesEnum(success, 4)>
runDuration: <Duration
nanos: 617000000
seconds: 170>
state: StateValueValuesEnum(complete, 0)
stepId: u'bs.b2c854c31dd1dcd1'
testExecutionStep: <TestExecutionStep
testIssues: [<TestIssue
category: CategoryValueValuesEnum(common, 0)
errorMessage: u'Test is compatible with Android Test Orchestrator.'
severity: SeverityValueValuesEnum(suggestion, 2)
type: TypeValueValuesEnum(compatibleWithOrchestrator, 2)>]
testSuiteOverviews: [<TestSuiteOverview
totalCount: 1
xmlSource: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/test_result_1.xml'>>]
testTiming: <TestTiming
testProcessDuration: <Duration
seconds: 4>>
toolExecution: <ToolExecution
commandLineArguments: []
toolLogs: [<FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/logcat'>]
toolOutputs: [<ToolOutputReference
output: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/test_cases/0000_logcat'>
testCase: <TestCaseReference
className: u'com.example.firebasetestlabplayground.ExampleInstrumentedTest'
name: u'useAppContext'>>, <ToolOutputReference
output: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/test_result_1.xml'>>, <ToolOutputReference
output: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/video.mp4'>>, <ToolOutputReference
output: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/bugreport.txt'>>, <ToolOutputReference
output: <FileReference
fileUri: u'gs://test-lab-bcr7j9th055js-i215tdq3ht0hw/2019-04-19_15:41:26.364106_bmag/Pixel2-27-en_US-portrait/instrumentation.results'>>]>>>]>
INFO: Display format: "
table[box](
outcome.color(red=Fail, green=Pass, yellow=Inconclusive),
axis_value:label=TEST_AXIS_VALUE,
test_details:label=TEST_DETAILS
)
"
┌─────────┬──────────────────────────┬─────────────────────┐
│ OUTCOME │ TEST_AXIS_VALUE │ TEST_DETAILS │
├─────────┼──────────────────────────┼─────────────────────┤
│ Passed │ Pixel2-27-en_US-portrait │ 1 test cases passed │
└─────────┴──────────────────────────┴─────────────────────┘
FirebaseTestLabPlayground[master]15:45:45 gcloud firebase test android run --project locuslabs-android-sdk --app app/build/outputs/apk/debug/app-debug.apk --test app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk --device model=Pixel2,version=27,locale=en_US,orientation=portrait --verbosity debug

Symfony3 - Cache component - Pool definition

I'ld like to use the new Symfony 3 Cache Component in a project.
I can use it if I define my services by hand like this:
app.cache.adapter.array:
class: 'Symfony\Component\Cache\Adapter\ArrayAdapter'
app.redis.client:
class: Predis\Client
factory: ['Symfony\Component\Cache\Adapter\RedisAdapter', 'createConnection']
arguments: ["%redis_dsn%", {timeout: 5}]
app.cache.adapter.redis:
class: Symfony\Component\Cache\Adapter\RedisAdapter
abstract: true
arguments:
-
- "api"
- 0
app.cache.adapter.chain:
class: 'Symfony\Component\Cache\Adapter\ChainAdapter'
abstract: true
arguments:
- ['#app.cache.adapter.array', "#app.cache.adapter.redis"]
- 0
cache.api:
parent: "app.cache.adapter.chain"
But as soon as I use the cache.pool tag or the framework pools configuration to get data in the profiler, I've got an exception
framework:
cache:
pools:
cache.api:
adapter: "app.cache.adapter.chain"
public: true
default_lifetime: 0
clearer: ~
And here is the exception
(1/1) ContextErrorException
Catchable Fatal Error: Argument 1 passed to Symfony\Component\Cache\Adapter\ChainAdapter::__construct() must be of the type array, string given, called in /var/www/julien/htdocs/sccd/website/var/cache/dev/appDevDebugProjectContainer.php on line 4032 and defined
in ChainAdapter.php (line 37)
at ChainAdapter->__construct('+FJMe7Pj5l', 0)in appDevDebugProjectContainer.php (line 4032)
at appDevDebugProjectContainer->getCache_Api_RecorderInnerService()in appDevDebugProjectContainer.php (line 623)
at appDevDebugProjectContainer->getCache_ApiService()in classes.php (line 3292)
at Container->get('cache.api')in appDevDebugProjectContainer.php (line 2629)
Can anyone help me on this ?
I'm using the Symfony v3.3.11, and predis/predis v1.1.1 for redis connection.
Thanks

Resources