suresh
12/04/2023, 7:16 PMmkdir -m 700 /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
Command mkdir -m 700 /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
returned successfully
Uploading /home/azureuser/ado_agent/_work/9/s/puppet_bolt_module/modules/patching/tasks/disk_check.sh to /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh
Executing chmod u+x /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh
Command chmod u+x /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh
returned successfully
Executing id -g root
Command id -g root
returned successfully
Executing sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ sh -c cd\;\ chown\ -R\ root:0\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
Command sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ sh -c cd\;\ chown\ -R\ root:0\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
returned successfully
Executing sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ /usr/bin/env PT__task=patching::disk_check sh -c echo\ ba37ce3e-7f21-4828-97a6-f0d2ba7fb45a\ 1\>\&2\;\ cd\;\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh
Command sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ /usr/bin/env PT__task=patching::disk_check sh -c echo\ ba37ce3e-7f21-4828-97a6-f0d2ba7fb45a\ 1\>\&2\;\ cd\;\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh failed with exit code 126
Executing sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ sh -c cd\;\ rm\ -rf\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
Command sudo -S -H -u root -p \[sudo\]\ Bolt\ needs\ to\ run\ as\ another\ user,\ password:\ sh -c cd\;\ rm\ -rf\ /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5
returned successfully
Closed session
{"target":"azwu-d-app-162","action":"task","object":"patching::disk_check","status":"failure","value":{"_output":"","_error":{"kind":"puppetlabs.tasks/task-error","issue_code":"TASK_ERROR","msg":"The task failed with exit code 126 and no stdout, but stderr contained\nsh /tmp/833b6560-26b2-430c-9862-9a0e5d3c6de5/disk_check.sh: Permission denied\n\n\nThis might be caused by the default tmpdir being mounted using 'noexec'. See http://pup.pt/task-failure for details and workarounds.","details":{"file":"/home/azureuser/ado_agent/_work/9/s/puppet_bolt_module/modules/patching/plans/pre_check.pp","line":18,"exit_code":126}}}}